From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ross Johnson To: Pthreads Developers List Subject: Snapshot 1999-08-12 available Date: Wed, 11 Aug 1999 20:49:00 -0000 Message-id: X-SW-Source: 1999/msg00056.html Hi all, I've just finished uploading snapshot 1999-08-12 to the usual place: ftp://sourceware.cygnus.com/pub/pthreads-win32 The announcement is at: http://sourceware.cygnus.com/pthread-win32/announcement.html Patches and changes from Peter Slacik, Lorin Hochstein, and John Bossom have been applied. John, the behaviour of pthread_exit() is to raise an exception as you suggested which is caught by _pthread_threadStart(). However, if the thread was created implicitly pthread_exit just does what it used to do, ie. cleanup and end the thread itself. Pthread_exit calls pthread_self() which (for those not familiar with John's implementation) will create a POSIX thread handle for any thread that does not yet have one, ie. was not created by pthread_create(), eg. any WIN32 thread, primary thread, etc. This allows those threads to be managed by the pthreads routines. Any such POSIX thread handle is tagged as "implicit". Cheers. Ross +----------------------+---+ | Ross Johnson | | E-Mail: rpj@ise.canberra.edu.au | Info Sciences and Eng|___| | University of Canberra | FAX: +61 6 2015227 | PO Box 1 | | Belconnen ACT 2616 | WWW: http://willow.canberra.edu.au/~rpj/ | AUSTRALIA | +--------------------------+