From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
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:25:36 |
Message-ID: | 19060000.1062437136@lerlaptop.lerctr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
--On Monday, September 01, 2003 14:24:14 -0300 "Marc G. Fournier"
<scrappy(at)hub(dot)org> wrote:
>
>
> On Mon, 1 Sep 2003, Bruce Momjian wrote:
>
>> 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.
>
> Note that Larry said "unless told otherwise", so I'm guessing that there
> is somewhere in Unixware taht states that standard getpwuid isn't thread
> safe? :)
http://www.lerctr.org:8458/en/man/html.3C/getpwent.3C.html
the above is the manual page as used on UnixWare. See the very end.
LER
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
From | Date | Subject | |
---|---|---|---|
Next Message | Lee Kindness | 2003-09-01 17:26:17 | Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...) |
Previous Message | Marc G. Fournier | 2003-09-01 17:24:14 | Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...) |