public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Snapshot 1999-08-12 available
@ 1999-08-11 20:49 Ross Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Ross Johnson @ 1999-08-11 20:49 UTC (permalink / raw)
  To: Pthreads Developers List

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                |
+--------------------------+


^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Snapshot 1999-08-12 available
@ 1999-09-02  7:15 Medina, Aurelio
  0 siblings, 0 replies; 2+ messages in thread
From: Medina, Aurelio @ 1999-09-02  7:15 UTC (permalink / raw)
  To: 'Ross Johnson'; +Cc: Pthreads Developers List

To whom it may concern,

I have ported the proposed POSIX Read/Write Locks (e.g.
pthread_rwlock_init()) library to Windows NT.  These routines are almost
completely copied from Richard Steven's latest UNIX Network Programming
book.  The library is currently a UNIX98, X/Open standard and available on
HP-UX 11.0.  Also, according to Mr. Stevens, it should soon become a POSIX
standard on all UNIX platforms.  Almost all the software I develop has to
run on both Windows NT and UNIX.  Therefore, I would really like to see
these useful read/write mutex routines in the Pthreads-Win32 library. 

P.S. I'm also working on porting the POSIX Message Queue (e.g. mq_open())
library to Windows NT.  When this is complete, I will send you the source
and header files if interested.


Attached is the source and header file for the POSIX Read/Write Locks.
 <<pthread_rwlock.c>>  <<pthread_rwlock.h>> 

Thanks,
Aurelio Medina
Distributed Systems Management
mailto:aureliom@crt.com < mailto:aureliom@crt.com > 

	-----Original Message-----
	From:	Ross Johnson [SMTP:rpj@ise.canberra.edu.au]
	Sent:	Wednesday, August 11, 1999 10:49 PM
	To:	Pthreads Developers List
	Subject:	Snapshot 1999-08-12 available

	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                |
	+--------------------------+
	

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-09-02  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-11 20:49 Snapshot 1999-08-12 available Ross Johnson
1999-09-02  7:15 Medina, Aurelio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).