[Interest] proper (silent) exit in response to SIGHUP?

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Mon Oct 8 21:45:19 CEST 2018

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 | giuseppe.dangelo at kdab.com | 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181008/a92575d2/attachment.bin>

More information about the Interest mailing list