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

René J. V. Bertin rjvbertin at gmail.com
Mon Oct 15 18:22:27 CEST 2018

Thiago Macieira wrote:

> I wasn't joking. The Unix systems often copy neat features from one another
> when one innovates ahead of the others. I have a pending patch for Linux
> copying OpenBSD's O_NOSIGPIPE option but I have yet to finish it.

So you meant "ask to incorporate this here implementation". That might work for 
Linux, possibly (Free)BSD which are open source ... but I wouldn't keep my hopes 
up with the likes of Apple.

> QEventDispatcherCoreFoundation. But looking at the sources, it seems that the
> event dispatcher is created on-demand by the first QEventLoop or by calling
> exec(), so the file descriptor won't be opened until then.

So I wasn't completely blind - a thread that just lives its own life and doesn't 
interact with others through Qt mechanism could do without the pipes, but how 
much other overhead?


More information about the Interest mailing list