I'm running into some fascinating problems related to forking.

I found this.

pthread_atfork

In my particular case I'm having some problems with the X11 demo back
end related to
XShm getting munged after a fork.

But I'm not clear on whats going on but since DirectFB is multi
threads we may need to consider
if a few more pthreads_atforks are  needed.

I noticed the calls in fusion.c but what about XShm for the X11 backend ?

Googling did not reveal if something needs to be done.  I did not find
any use of pthread_atfork in the X11 server either.



Mike

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to