On 02/16/2014 03:59 PM, Nathaniel Smith wrote: > Yes, but the problem is that depending on what the user intends to do > after forking, our pthread_atfork handler might help or it might hurt, > and we don't know which. Consider these two cases: > - fork+exec > - fork+continue to use OMP in child > The former case is totally POSIX-legal, even when performed at > arbitrary places, even when another thread is, say, in the middle of > calling malloc().
Point well taken. r~