This is the mail archive of the
pthreads-win32@sourceware.cygnus.com
mailing list for the pthreas-win32 project.
Snapshot 1999-08-12 available
- To: Pthreads Developers List <pthreads-win32@sourceware.cygnus.com>
- Subject: Snapshot 1999-08-12 available
- From: Ross Johnson <rpj@ise.canberra.edu.au>
- Date: Thu, 12 Aug 1999 13:49:08 +1000 (EST)
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 |
+--------------------------+