LWN.net Logo

3.4 Merge window part 2

3.4 Merge window part 2

Posted Mar 29, 2012 19:28 UTC (Thu) by kjp (subscriber, #39639)
In reply to: 3.4 Merge window part 2 by kjp
Parent article: 3.4 Merge window part 2

By the way, thats for existing user client code we have to detect when the main gui process dies.

prctl(PR_SET_PDEATHSIG, SIGHUP);
if (getppid() == 1) /* parent died already? */
return 0;


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds