Comment 21 for bug 936132

Revision history for this message
graingert (tagrain) wrote :

Added demo program directly

quoted from link:

$ make
$ ./forktest

if you hit 'm', it will do the fork in the main thread, and work successfully.
if you hit the spacebar, it will create a thread and do the fork in there. and crash.