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

From: ohp(at)pyrenet(dot)fr
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Date: 2003-09-03 18:03:03
Message-ID: Pine.UW2.4.53.0309032002130.19756@server.pyrenet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ok, I don't know much about threads; would you write a simple program for
us to test?
On Wed, 3 Sep 2003, Bruce Momjian wrote:

> Date: Wed, 3 Sep 2003 13:58:53 -0400 (EDT)
> From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
> To: Olivier PRENANT <ohp(at)pyrenet(dot)fr>
> Cc: pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] Unixware Patch (Was: Re: Beta2 Tag'd and Bundled
> ...)
>
> Olivier PRENANT wrote:
> > >> 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.
>
> You don't need a SMP machine to test threads. You just need one thread
> to do the function call, then another to do the function call and see if
> the two pointers are different. They calls don't have to happen at the
> same time. Ideally you could make call in the two threads with
> different arguments, then after both calls are completed, test that the
> two static areas have the proper _different_ values.
>
>

--
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work)
6, Chemin d'Harraud Turrou +33-5-61-50-97-01 (Fax)
31190 AUTERIVE +33-6-07-63-80-64 (GSM)
FRANCE Email: ohp(at)pyrenet(dot)fr
------------------------------------------------------------------------------
Make your life a dream, make your dream a reality. (St Exupery)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-09-03 18:03:27 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Previous Message Bruce Momjian 2003-09-03 18:00:55 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)