Jeroen Ruigrok/asmodai wrote: > -On [20030908 06:32], Bruce Momjian ([EMAIL PROTECTED]) 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 [EMAIL PROTECTED] | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]