Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...) - Mailing list pgsql-hackers

From Lee Kindness
Subject Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Date
Msg-id 16212.54335.194244.314470@kelvin.csl.co.uk
Whole thread Raw
In response to Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian writes:> Lee Kindness wrote:> > No, it's not. Using the _r functions on such systems is BETTER because> >
theAPI is clean and the function can be implmented in a reentrant and> > thread-safe fashion wuithout the need for
threadlocal storage or> > mutex locking.> I don't care about overhead at this point.  These functions are rarely>
called.

Nor do I, but there is no requirement or point in using the
traditional interface over the _r one then the traditional one is
known to be thread-safe. It only adds additional complexity.

L.


pgsql-hackers by date:

Previous
From: Lee Kindness
Date:
Subject: Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Next
From: Tom Lane
Date:
Subject: Re: elog.c comiple problem on AIX 4.2.1