pthread_testcancel() causes SEGV

Thomas Pfaff tpfaff@gmx.net
Mon Sep 16 02:07:00 GMT 2002



On Tue, 10 Sep 2002, Robert Collins wrote:

> On Thu, 2002-08-08 at 04:54, Jason Tishler wrote:
> > Thomas,
> >
> > On Wed, Aug 07, 2002 at 09:34:14AM +0200, Thomas Pfaff wrote:
> > > Thanks for tracking it down.
> >
> > No problem.  Thanks for the quick turn around on the patch.  I tested it
> > and can confirm that it fixes the ipc-daemon service startup problem.
>
> Jason,
> sorry for the *cough* long delay.
>
> the attached patch is the 'right way' to deal with this issue IMO. It
> also gives us full pthread* support for threads created using the win32
> CreateThread call (although I won't officially support that at this
> point :}).
>

Rob,

you may have noticed that i have added similar code in my pending pthread
patches.
Anyway, since you return a NULL pointer in pthread_self if something went
wrong i vote for inclusion of my original patch regardless which patch
will be applied for pthread_self.

Thomas



More information about the Cygwin-patches mailing list