Re: Thread-safe configuration option appears to misfunction
От | Bruce Momjian |
---|---|
Тема | Re: Thread-safe configuration option appears to misfunction |
Дата | |
Msg-id | 200308041630.h74GUWo21931@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Thread-safe configuration option appears to (Larry Rosenman <ler@lerctr.org>) |
Ответы |
Re: Thread-safe configuration option appears to
|
Список | pgsql-hackers |
We decided to make separate thread/nonthread libraries if the threading requires any special flags --- we haven't done that yet, and only configure controls it. --------------------------------------------------------------------------- Larry Rosenman wrote: > > > --On Monday, August 04, 2003 17:54:41 +0200 Peter Eisentraut > <peter_e@gmx.net> wrote: > > > Bruce Momjian writes: > > > >> Peter Eisentraut wrote: > >> > Is it intended that libpq is always compiled with the so-called > >> > "thread-safe" compiler option, regardless of whether I used > >> > --enable-thread-thing? > >> > >> It certainly should not be doing that, but my OS has no thread flags, so > >> I am not seeing it here. What exactly do you see? > > > > It's using -D_REENTRANT etc. (linux template) when compiling libpq. > I think we WANT to do that for libpq so it can be used in a threaded app, > since there > is no libc_r on Linux to the best of my knowledge. > > I intend that to happen on UnixWare as well. > > LER > > > > -- > Larry Rosenman http://www.lerctr.org/~ler > Phone: +1 972-414-9812 E-Mail: ler@lerctr.org > US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 > > -- 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 по дате отправления: