This is the mail archive of the cygwin-developers@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: pthread_testcancel() causes SEGV



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


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