Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)

From: Olivier PRENANT <ohp(at)pyrenet(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Date: 2003-09-03 17:33:24
Message-ID: bj58mp$qmi$1@floppy.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Olivier PRENANT wrote:

> Larry Rosenman wrote:
>
>>
>>
>>> <SNIP>
>>> I am inclined to think yes. It would prevent uglification of the code
>>> by not having to special-case Unixware.
>>>
>>> However, I was able to read the libc sources to confirm thread-safety.
>>> Because you can not see the source, would you try a threaded program
>>> and
>>> see if calls to getpwuid from different threads return different
>>> pointer values?
>>
>>
>> It won't prove anything on MY box, as it is a UNIPROCESSOR, so the
>> threads won't be dispatched at the same time.
>
>
> I have 2 bi-pro machines here both running unixware 7.1.3 I can make
> tests if you want
>
>>
>> It's ok to assume thread-safety, as the SCO developer (Kean Johnston)
>> asked the threads guys, and he said that the libc stuff is
>> thread-safe so they don't have to have 2 different versions in libc.
>>
>> LER
>>
>>
>>
>
If any one can write a program that can prove anything (I can't), I'm
willing to test it here on a bi-pro (bi PIII and bi-XEON with JT
enabled) running uw713.
Maybe it will end the discussion and make a point in either way. So that
we (you?) can move on with the other unixware patches.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-09-03 17:33:45 Re: TCP/IP with 7.4 beta2 broken?
Previous Message Peter Eisentraut 2003-09-03 17:25:48 Re: testing for usable C compiler