Re: FreeBSD/i386 thread test - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: FreeBSD/i386 thread test
Date
Msg-id Pine.LNX.4.44.0309082351280.1015-100000@peter.localdomain
Whole thread Raw
In response to Re: FreeBSD/i386 thread test  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: FreeBSD/i386 thread test
List pgsql-hackers
Bruce Momjian writes:

> > Both gethostbyname() and getpwuid() have no _r equivalents on
> > FreeBSD-STABLE, ergo no thread-safe functions of these.
>
> So you don't have all the *_r functions, and your non-*_r functions
> aren't thread-safe.  Should we disable theading on FreeBSD?  Seems so.

Why would FreeBSD have a "library of thread-safe libc functions" (libc_r)
if the functions weren't thread-safe?  I think the test is faulty.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [PATCHES] mcxt.c
Next
From: Jeroen Ruigrok/asmodai
Date:
Subject: Re: FreeBSD/i386 thread test