]> granicus.if.org Git - python/commit
BSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net.
authorGuido van Rossum <guido@python.org>
Wed, 7 Oct 1998 16:39:47 +0000 (16:39 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 7 Oct 1998 16:39:47 +0000 (16:39 +0000)
commit9e46e562640cdf5c2e69cd39ef4f30254c107e87
tree3f79db7db1986e0e4801f5b18932e090ee2d8d26
parentc501583dfa6dc5e50cf1d36f0770acb87908b109
BSDI specific patches, inspired by Nigel Head and otto@mail.olympus.net.

Also (non-BSDI specific):

- Change the CHECK_STATUS() macro so it tests for nonzero error codes
instead of negative error codes only (this was needed for BSDI, but
appears to be correct according to the PTHREADS spec).

- use memset() to zero out the allocated lock structure.  Again, this
was needed for BSDI, but can't hurt elsewhere either.
Python/thread_pthread.h