[Xcb] closing xcb connection after fork() call

Rémi Denis-Courmont remi at remlab.net
Tue Mar 5 10:13:16 PST 2013


Le mardi 5 mars 2013 20:02:48, Jamey Sharp a écrit :
> As a minor detail: XCB does not create any threads. However, none of its
> internal state has any guarantees about consistency after fork. So yeah,
> calling XCB functions across fork is not recommended.

It does not create threads but it creates mutexes and condition variables. 
fork() busts mutexes and condition variables.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the Xcb mailing list