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

René J.V. Bertin rjvbertin at gmail.com
Mon Oct 8 19:46:31 CEST 2018


Thiago Macieira wrote:

>> What is the purpose of the pipe/eventfd detour? Can't I just call a function
>> or signal a slot directly?
> 
> You can call _exit. You can't call much else. You can only call the functions

OK, got it.

I take it that the QSocketNotifier lives on the main thread and connects to a slot that lives there too, somehow preventing the signal handler from returning which could lead to the application exitting prematurely?

R.



More information about the Interest mailing list