pthread_atfork and PTHREAD_FORK

Bill Medland medbi01_1 at accpac.com
Wed Sep 26 15:41:23 CDT 2001


Can someone tell me what we should have here?  (It might be interesting to
know how it's supposed to work too but that's beside the point).

I had a case where pthread_atfork was being called with two null pointers,
so it all blew up when PTHREAD_FORK tried to execute the code they pointed
to.

Is it legal for pthread_atfork to be called with null parameters (in which
case I will correct PTHREAD_FORK, otherwise I'll assert the pointers).

Bill







More information about the wine-devel mailing list