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]

RE: Pthreads patches


Thanks Thomas, this is good. I'm checking it in now.

Rob

> -----Original Message-----
> From: cygwin-patches-owner@cygwin.com 
> [mailto:cygwin-patches-owner@cygwin.com] On Behalf Of Thomas Pfaff
> Sent: Tuesday, 18 June 2002 8:12 PM
> To: cygwin-patches@cygwin.com
> Subject: Re: Pthreads patches
> 
> 
> I am sorry, but i recognized that my patch was incomplete. The diff
> included only threads.cc.
> I have attached a new one.
> 
> Thomas
> 
> 2002-06-12  Thomas Pfaff  <tpfaff@gmx.net>
> 
> 	* thread.h (pthread::cleanup_stack): Renamed cleanup_handlers to
> 	cleanup_stack.
> 	* thread.cc (pthread::pthread): Ditto.
> 	(pthread::create): Fixed mutex verification.
> 	(pthread::push_cleanup_handler): Renamed cleanup_handlers to
> 	cleanup_stack.
> 	Mutex calls removed, used InterlockedExchangePointer instead.
> 	(pthread::pop_cleanup_handler): Renamed cleanup_handlers to
> 	cleanup_stack.
> 	(pthread::pop_all_cleanup_handlers): Ditto.
> 	(__pthread_once): Check state first and return if already done.
> 	(__pthread_join): DEADLOCK test reverted to __pthread_equal
> 	call.
> 	(__pthread_detach): Unlock mutex before deletion.
> 
> Robert Collins wrote:
> > 
> > I'll review this latest patch in ~20 hours. (i.e. tomorrow night).
> > 
> > Rob
> 


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