Re: FreeBSD/i386 thread test
От | Bruce Momjian |
---|---|
Тема | Re: FreeBSD/i386 thread test |
Дата | |
Msg-id | 200309081650.h88GoIN00773@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: FreeBSD/i386 thread test (Jeroen Ruigrok/asmodai <asmodai@wxs.nl>) |
Ответы |
Re: FreeBSD/i386 thread test
Re: FreeBSD/i386 thread test Re: FreeBSD/i386 thread test |
Список | pgsql-hackers |
Jeroen Ruigrok/asmodai wrote: > -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. 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. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-hackers по дате отправления: