From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | threading and FreeBSD |
Date: | 2003-08-14 22:43:47 |
Message-ID: | 200308142243.h7EMhlx27241@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Our current template/freebsd has:
CFLAGS='-pipe'
case $host_cpu in
alpha*) CFLAGS="$CFLAGS -O" ;;
esac
SUPPORTS_THREADS=yes
case $host_os in
freebsd2*|freebsd3*|freebsd4*)
THREAD_CFLAGS="-pthread"
NEED_REENTRANT_FUNC_NAMES=yes
;;
*)
THREAD_LIBS="-lc_r"
NEED_REENTRANT_FUNC_NAMES=yes
;;
esac
Now, this says FreeBSD needs reentrant named functions for all versions.
However, our main server (4.8-STABLE FreeBSD) doesn't have any mention
of getpwuid_r(). Would some FreeBSD folks test the
--enable-thread-safey and let us know how things work?
--
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 | wind.claudio@inwind.it | 2003-08-14 23:18:50 | Re: Statement-level Triggers |
Previous Message | Bruce Momjian | 2003-08-14 22:13:05 | Re: [GENERAL] 7.4Beta |