From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dave Page <dpage(at)vale-housing(dot)co(dot)uk> |
Cc: | pgsql-hackers(at)postgresql(dot)org, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Win32 Thread safetyness |
Date: | 2005-08-29 00:47:29 |
Message-ID: | 200508290047.j7T0lTm18864@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Patch applied. Autoconf run. Thanks.
---------------------------------------------------------------------------
Dave Page wrote:
>
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> > Sent: 28 August 2005 22:56
> > To: Dave Page
> > Cc: pgsql-hackers(at)postgresql(dot)org
> > Subject: Re: [HACKERS] Win32 Thread safetyness
> >
> >
> > Well, actually I tried to run configure --enable-thread-safety on a
> > MinGW platform and got:
> >
> > configure: error: pthread.h not found, required for
> > --enable-thread-safety
> > You need to run the 'configure' program first. See the file
> > 'INSTALL' for installation instructions.
> > make: *** [all] Error 1
> >
> > Can we not compile --enable-thread-safety without pthreads on
> > Win32? I
> > am thinking that is true because we are going to need
> > pthreads for ecpg.
>
> Correct - it is needed for ecpg, but not libpq.
>
> > > Anyhoo, I can patch ecpglib to use the full pthreads with
> > my hack above
> > > if people think that is the way to go for the time being.
> >
> > OK.
> >
>
> Attached (without the hack). Libpq will use it's minimal pthread
> implementation, ecpg will use pthreadGC2.
>
> You'll need to run autoconf after applying.
>
> Regards, Dave.
Content-Description: win32-threads.diff
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Larry Rosenman | 2005-08-29 01:46:14 | Re: timestamp.c |
Previous Message | Dave Page | 2005-08-28 23:38:35 | Re: [HACKERS] Win32 Thread safetyness |
From | Date | Subject | |
---|---|---|---|
Next Message | Allan Wang | 2005-08-29 03:13:59 | Re: Work-in-progress referential action trigger timing patch |
Previous Message | Dave Page | 2005-08-28 23:38:35 | Re: [HACKERS] Win32 Thread safetyness |