[PATCH] check for valid pthread_self pointer

Robert Collins rbcollins@cygwin.com
Mon Sep 16 04:46:00 GMT 2002


On Fri, 2002-08-16 at 21:22, Jason Tishler wrote:
> Rob,
> 
> On Wed, Aug 07, 2002 at 05:19:10PM +0200, Thomas Pfaff wrote:
> > This patch should fix the problem with the ipc-daemon started as
> > service and threads that are not created by pthread_create.
> 
> Please evaluate and commit if OK -- the PostgreSQL folks could really
> use this.

BTW: they really should use pthread_create if they want to use threaded
code with cygwin. But you knew that right?

There is *no* guarantee that any pthread operations called from a non
cygwin created thread will operate correctly. We'll try... but there is
no guarantee.

Rob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20020916/4107d63e/attachment.sig>


More information about the Cygwin-patches mailing list