Re: --enable-thread-safety on Win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: --enable-thread-safety on Win32
Date: 2005-07-28 13:29:05
Message-ID: 200507281329.j6SDT5p24744@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dave Page wrote:
>
>
> > -----Original Message-----
> > From: Bruce Momjian [mailto:pgman(at)candle(dot)pha(dot)pa(dot)us]
> > Sent: 28 July 2005 02:39
> > To: Dave Page
> > Cc: PostgreSQL-development
> > Subject: Re: [HACKERS] --enable-thread-safety on Win32
> >
> > Dave Page wrote:
> > > Did anyone get a chance to think about this? I'd like to
> > fix this for
> > > 8.1, but it should also make life easy with the new libpq based ODBC
> > > driver improvements if I can produce an appropriate patch
> > sooner rather
> > > than later!
> >
> > I have thought about it and it needs to be addressed before 8.1 final,
> > but I don't have time at the moment.
>
> I'm happy to work on it if we can agree on the best way forward :-)

Uh, good question. As I remember the issue is that there are too many
unix-isms in the test program (thread creation) that are not actually
used in libpq. I would like to see how hard it would be to add #ifdefs
to get the test program to run on Win32.

--
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-07-28 13:36:07 Re: --enable-thread-safety on Win32
Previous Message Greg Stark 2005-07-28 11:49:29 Re: wal_buffer tests in