| От | Rod Taylor |
|---|---|
| Тема | Re: [HACKERS] ECPG thread-safety |
| Дата | |
| Msg-id | 1053970321.10179.13.camel@jester обсуждение исходный текст |
| Ответ на | Re: [HACKERS] ECPG thread-safety (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Ответы |
Re: [HACKERS] ECPG thread-safety
|
| Список | pgsql-patches |
On Mon, 2003-05-26 at 13:06, Bruce Momjian wrote: > Shridhar Daithankar wrote: > > On Friday 28 March 2003 21:45, you wrote: > > > For testing the library, I think it is enough to init an thread attr. like > > > pthread_init_attr, that should be enough to test header and library. > > > > And compiler flags, I forgot.. -pthread on freeBSD/gcc and -D_REENTRANT on > > linux at least. FreeBSD needs _THREAD_SAFE as well IIRC. > > Are you saying FreeBSD actually has a -pthread compiler flag? And Linux > needs REENTRANT. We can do that. Here is an updated patch. Of course, > I need to run autoconf too. If I'm not mistaken, you use -lpthread on FreeBSD 4.x, and -lc_r on FreeBSD 5.x. -- Rod Taylor <rbt@rbt.ca> PGP Key: http://www.rbt.ca/rbtpub.asc
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера