Thanks Thomas, this is good. I'm checking it in now. Rob
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] On Behalf Of Thomas Pfaff > Sent: Tuesday, 18 June 2002 8:12 PM > To: [EMAIL PROTECTED] > 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 <[EMAIL PROTECTED]> > > * 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 >
