This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
RE: Pthreads patches
- From: "Robert Collins" <robert dot collins at syncretize dot net>
- To: "'Thomas Pfaff'" <tpfaff at gmx dot net>,<cygwin-patches at cygwin dot com>
- Date: Fri, 21 Jun 2002 06:28:50 +1000
- Subject: RE: Pthreads patches
I've not forgotten this Thomas, still very busy.
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
>