Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)
Lee Kindness <lkindness@csl.co.uk>
From: Lee Kindness <lkindness@csl.co.uk>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Lee Kindness <lkindness@csl.co.uk>, Tom Lane <tgl@sss.pgh.pa.us>, Greg Stark <gsstark@mit.edu>, pgsql-hackers@postgresql.org
Date: 2003-09-02T17:32:47Z
Lists: pgsql-hackers
Bruce Momjian writes: > Lee Kindness wrote: > > No, it's not. Using the _r functions on such systems is BETTER because > > the API is clean and the function can be implmented in a reentrant and > > thread-safe fashion wuithout the need for thread local 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.