This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] pthread_fork Part 2


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.




Attachment: pthread_keys.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]