[Python-checkins] CVS: python/dist/src/Python thread_pthread.h

Guido van Rossum guido@cnri.reston.va.us
Mon, 15 Mar 1999 15:27:56 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
Log Message:
Rob Riggs wrote:

Spec says that on success pthread_create returns 0. It does not say
that an error code will be < 0. Linux glibc2 pthread_create() returns
ENOMEM (12) when one exceed process limits. (It looks like it should
return EAGAIN, but that's another story.)

For reference, see:

[I have a feeling that similar bugs were fixed before; perhaps someone
could check that all error checks no check for != 0?]