Re: threads stuff/UnixWare
От | Larry Rosenman |
---|---|
Тема | Re: threads stuff/UnixWare |
Дата | |
Msg-id | 5DFA80277C2CEF9828CF85E4@lerlaptop.lerctr.org обсуждение исходный текст |
Ответ на | Re: threads stuff/UnixWare (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-hackers |
--On Wednesday, May 12, 2004 22:26:03 -0400 Bruce Momjian <pgman@candle.pha.pa.us> wrote: > Larry Rosenman wrote: >> Yes, there would still be the overhead, because the functions that >> libthread wraps would go through that overhead since libthread does it's >> magic at _ini time. >> >> Y'all were concerned with overhead in previous discussions. >> >> If you want to link the backend with -Kpthread, you can, but basically >> the client code (initdb, et al) should be -Kpthread, and the backend >> should NOT since there are no threads calls in the backend. >> >> > >> > I am afraid of libpgport. Those object files get used by the backend, >> > and by the client stuff. Larry can -K and non-K object files be mixed >> > in the same binary? >> Yes, they can. >> >> But, you MUST link ANY pthread_* using code with -K pthread. > > OK, can someone come up with a cute way to add flags only to things that > use libpq, meaning /interfaces and /bin? What about where -lpq is specified? (I'm NOT a GNU Make guru). 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
В списке pgsql-hackers по дате отправления: