Re: FreeBSD/i386 thread test

Поиск
Список
Период
Сортировка
От Jeroen Ruigrok/asmodai
Тема Re: FreeBSD/i386 thread test
Дата
Msg-id 20030908055238.GQ691@nexus.ninth-circle.org
обсуждение исходный текст
Ответ на Re: FreeBSD/i386 thread test  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: FreeBSD/i386 thread test  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
-On [20030908 06:32], Bruce Momjian (pgman@candle.pha.pa.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...


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FreeBSD/i386 thread test
Следующее
От: "Conrad Vermeulen"
Дата:
Сообщение: FW: indirect dereferencing a field in a record using plpgsql