| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Larry Rosenman <ler(at)lerctr(dot)org> |
| Cc: | Greg Stark <gsstark(at)mit(dot)edu>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...) |
| Date: | 2003-09-01 17:11:25 |
| Message-ID: | 200309011711.h81HBP019048@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Larry Rosenman wrote:
>
>
> --On Monday, September 01, 2003 12:35:43 -0400 Bruce Momjian
> <pgman(at)candle(dot)pha(dot)pa(dot)us> wrote:
>
> >
> >> Um. I don't think that's true. I mean, in theory it's true, but in
> >> practice why would an OS have some *_r but have only non-thread-safe
> >> versions of others?
> >
> > Oh, interesting. So you are saying that if the OS supports threads,
> > then we use the *_r if they have them, and assume the non *_r functions
> > are already thread-safe if they don't. Interesting.
> >
> > That seems to be what we have on Unixware, and on BSD/OS I have some *_r
> > functions but not others, but they are all threadsafe, so your plan
> > works there too.
> UnixWare's Kernel is threaded, and I assume anything in libc is threadsafe
> unless
> told otherwise.
What? You said Unixware needs getpwuid_r. And this has nothing to do
with whether the kernel is threaded.
--
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 | Tom Lane | 2003-09-01 17:13:04 | Re: massive quotes? |
| Previous Message | Larry Rosenman | 2003-09-01 17:07:04 | Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...) |