Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] PostgreSQL libraries - PThread Support, but not use...
Date: 2003-01-09 15:04:14
Message-ID: 29593.1042124654@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Lee Kindness <lkindness(at)csl(dot)co(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-01-09 15:05:15 Re: psql and readline
Previous Message Dan Langille 2003-01-09 15:02:42 Re: psql and readline

Browse pgsql-patches by date

  From Date Subject
Next Message Lee Kindness 2003-01-09 15:25:07 Re: [PATCHES] PostgreSQL libraries - PThread Support, but not use...
Previous Message Lee Kindness 2003-01-09 14:14:21 Re: PostgreSQL libraries - PThread Support, but not use...