Re: Thread-safe configuration option appears to

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, Larry Rosenman <ler(at)lerctr(dot)org>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thread-safe configuration option appears to
Date: 2003-08-06 23:37:42
Message-ID: 200308062337.h76NbgP24003@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dann Corbit wrote:
> > Perhaps by 7.5 we can enable the above logic by default.
> >
> > However, I do think we will have to mention the platforms
> > that aren't thread-safe some day, of course, once we enable
> > thread-safe by default.
>
> Perhaps a portable BSD licensed threading library could be included for
> platforms that do not have a safe thread interface.
>
> Is there a known list of functions with reentrancy problems?

That seems pretty heavy. I think we could support a 3rd party thread
interface if someone wanted to write one, or perhaps it would just work
out of the box, and we could test for its existance via configure.

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-08-06 23:49:10 Re: Thread-safe configuration option appears to
Previous Message Dann Corbit 2003-08-06 23:35:40 Re: Thread-safe configuration option appears to