[PATCH] check for valid pthread_self pointer

Jason Tishler jason@tishler.net
Mon Sep 16 09:50:00 GMT 2002


On Mon, Sep 16, 2002 at 09:46:38PM +1000, Robert Collins wrote:
> 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?

Huh?  This is really a cygipc issue -- not a PostgreSQL issue.
Unfortunately, PostgreSQL is dependent on cygipc until cygserver
supports IPC.

Note that this problem only manifested itself when ipc-daemon was run as
true NT service as opposed to the command line or cygrunsrv.


More information about the Cygwin-patches mailing list