Il 08/10/2018 09:50, René J.V. Bertin ha scritto:
That sounds real easy indeed ;)

Create a QSocketNotifier on the reading end of the pipe or on the eventfd,
connect its activation signal to a slot that does what you want.
What is the purpose of the pipe/eventfd detour? Can't I just call a function or 
signal a slot directly?


Given we're already in Linux-specific domain, also signalfd(2) comes into mind.

My 2 c,
--
Giuseppe D'Angelo | [email protected] | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to