[PATCH] pthread_fork Part 2

Thomas Pfaff tpfaff@gmx.net
Fri Aug 16 14:31:00 GMT 2002


Some small fixes in the pthread key handling.

2002-08-16  Thomas Pfaff  <tpfaff@gmx.net>

	* thread.cc (pthread_key::set): Return EINVAL if index is out of
	bounds or TlsSetValue failed.
	(pthread_key::get): Do not clear errno. Preserve Win32 LastError.
	(__pthread_setspecific): Retuern error from pthread_key::set.




-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pthread_keys.patch
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020816/8ca3f869/attachment.ksh>


More information about the Cygwin-patches mailing list