Skip site navigation (1) Skip section navigation (2)

Re: FreeBSD/i386 thread test

From: Jeroen Ruigrok/asmodai <asmodai(at)wxs(dot)nl>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: FreeBSD/i386 thread test
Date: 2003-09-08 05:52:39
Message-ID: 20030908055238.GQ691@nexus.ninth-circle.org (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-hackers
-On [20030908 06:32], Bruce Momjian (pgman(at)candle(dot)pha(dot)pa(dot)us) wrote:
>> Your gethostbyname() is _not_ thread-safe
>> Your getpwuid() is _not_ thread-safe
>> Your functions are _not_ all thread-safe
>
>Interesting.  Do you have all the *_r files listed in thread.c?  I sure
>hope so.  I assume you used the template thread compile flags for this
>test.

Both gethostbyname() and getpwuid() have no _r equivalents on
FreeBSD-STABLE, ergo no thread-safe functions of these.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
Gravitation can not be held responsible for people falling in love...

In response to

Responses

pgsql-hackers by date

Next:From: andrewDate: 2003-09-08 06:32:17
Subject: Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'
Previous:From: Tom LaneDate: 2003-09-08 05:47:17
Subject: Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group