]> granicus.if.org Git - python/commit
Rob Riggs wrote:
authorGuido van Rossum <guido@python.org>
Mon, 15 Mar 1999 20:27:53 +0000 (20:27 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 15 Mar 1999 20:27:53 +0000 (20:27 +0000)
commit701f25ef9dd2b97da2260dabab778ed4ab011047
tree7f9f38c522c63610742b99bff973cd634073961b
parentc7e7c60756af6bbfbea74388a397e040bd81c1cc
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:
http://www.opengroup.org/onlinepubs/7908799/xsh/pthread_create.html
"""

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