This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author csernazs
Recipients csernazs, gregory.p.smith, loewis, pitrou, twouters
Date 2010-01-25.13:32:40
SpamBayes Score 7.4176e-09
Marked as misclassified No
Message-id <>
I compile it with -lpthread.
os.fork1() was not available by default, I enabled it by removing two lines from posixmodule.c (it seems it's only enabled when #if defined(__USLC__) && defined(__SCO_VERSION__) is true).

With os.fork1() I have the same results, RuntimeError.

I was not able to compile it without pthread because I haven't found any configure options for that. If it's possible I'm happy to try it.

In my patch I wanted to reduce the effect on systems where forking in thread is working (eg. linux), that's the reason why I added "(defined (__SVR4) && defined (__sun)". But it just checks for solaris, not the OS version (on solaris 10/intel my demo is working).

(btw forking in thread  actually happens in a unittest related to BaseHTTPServer, which obviously fails on my platform)
Date User Action Args
2010-01-25 13:32:44csernazssetrecipients: + csernazs, loewis, twouters, gregory.p.smith, pitrou
2010-01-25 13:32:42csernazssetmessageid: <>
2010-01-25 13:32:41csernazslinkissue7242 messages
2010-01-25 13:32:40csernazscreate