Re: FreeBSD/i386 thread test

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: FreeBSD/i386 thread test
Дата
Msg-id Pine.LNX.4.44.0309082351280.1015-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: FreeBSD/i386 thread test  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: FreeBSD/i386 thread test  (Jeroen Ruigrok/asmodai <asmodai@wxs.nl>)
Список 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 по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: [PATCHES] mcxt.c
Следующее
От: Jeroen Ruigrok/asmodai
Дата:
Сообщение: Re: FreeBSD/i386 thread test