A) Support OLD_PTHREADS_API
authorArtur Bergman <sky@nanisky.com>
Fri, 12 Oct 2001 12:46:15 +0000 (12:46 +0000)
committerArtur Bergman <sky@nanisky.com>
Fri, 12 Oct 2001 12:46:15 +0000 (12:46 +0000)
commit82c40bf6e04dd4097ac1971f1cce87fd35ccf6d2
tree5f4849b51e876992f19322b920fbd31fc94b510c
parent15021dd465ee0f48a9150edb43ab94f08430d95b
A) Support OLD_PTHREADS_API
B) Change from using pthread_t to using a TLS to store the
index of the thread in an hash, this is to avoid problems when
in fact pthread_t was not a seralizable type.
Both these changes are because of HP-UX 10.20
This has not been tested on win32 but should work there.
Need to add support for NetWare.

p4raw-id: //depot/perl@12404
ext/threads/threads.h
ext/threads/threads.xs