Re: - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re:
Date
Msg-id 200307241259.h6OCxcP14638@candle.pha.pa.us
Whole thread Raw
In response to Re:  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Responses Re:  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
Re:  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Shridhar Daithankar wrote:
> On 23 Jul 2003 at 13:35, Bruce Momjian wrote:
> > I thought glibc was the one to introduce libc_r in the first place ---
> > are they making libc thread-safe now?
> 
> AFAIK, glibc plays all threadsafe in glibc2. Don't know prior to that. Of 
> course they do record if some of the routines are not thread safe but there is 
> no separate library as such.
> 
> by now, it is over all threadsafe. I don't have list of exceptions, but surely 
> they are pretty small, if any.
> 
> > 
> > What OS's are still using libc_r for threaded-ness?  I never liked that
> > approach myself, and I resist adding it to our setup unless it is
> > required.
> 
> FreeBSD and windows..:-) Two I know of..

The strange thing is that accoring to template/freebsd, libc_r was
_added_ in FreeBSD 5.0, while most OS are moving away from separate
threaded libs.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: libpq_r
Next
From: Tom Lane
Date:
Subject: Re: this is in plain text (row level locks)