| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | "Jeroen Ruigrok/asmodai" <asmodai(at)wxs(dot)nl> |
| 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 16:50:18 |
| Message-ID: | 200309081650.h88GoIN00773@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Jeroen Ruigrok/asmodai wrote:
> -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.
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Doug McNaught | 2003-09-08 16:56:37 | Re: plpgsql doesn't coerce boolean expressions to boolean |
| Previous Message | Tom Lane | 2003-09-08 16:49:51 | Re: row level lock and table level locks |