Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use... - Mailing list pgsql-patches

From Tom Lane
Subject Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...
Date
Msg-id 29593.1042124654@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
Responses Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-patches
Lee Kindness <lkindness@csl.co.uk> writes:

> + #define _THREAD_SAFE
> + #define _REENTRANT
> + #define _POSIX_PTHREAD_SEMANTICS

What is this stuff, and why isn't it wrapped in any sort of
platform-specific test?  If it's needed, why is it in only one .c file?

Also, haven't you broken SOCK_STRERROR for the Windows case?

            regards, tom lane

pgsql-patches by date:

Previous
From: Lee Kindness
Date:
Subject: Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...
Next
From: Lee Kindness
Date:
Subject: Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...