[Python-Dev] Re: threading and forking and 2.0 (patch #101226) (original) (raw)
Thomas Wouters thomas@xs4all.net
Fri, 25 Aug 2000 07:23:52 +0200
- Previous message: [Python-Dev] Re: threading and forking and 2.0 (patch #101226)
- Next message: [Python-Dev] Re: threading and forking and 2.0 (patch #101226)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Aug 25, 2000 at 12:58:15AM -0500, Guido van Rossum wrote:
+ /* XXX Is the following supported here? */ + pthreadatfork(&preforkcallback, &parentcallback, &childcallback); }
#else /* !HAVEBSDI */
To answer that question: yes. BSDI from 3.0 onward has pthread_atfork(), though threads remain unusable until BSDI 4.1 (because of a bug in libc where pause() stops listening to signals when compiling for threads.) I haven't actaully tested this patch yet, just gave it a once-over ;) I will test it on all types of machines we have, though.
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!
- Previous message: [Python-Dev] Re: threading and forking and 2.0 (patch #101226)
- Next message: [Python-Dev] Re: threading and forking and 2.0 (patch #101226)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]