Re: libpq_r
От | Bruce Momjian |
---|---|
Тема | Re: libpq_r |
Дата | |
Msg-id | 200307241252.h6OCqbJ14215@candle.pha.pa.us обсуждение исходный текст |
Ответ на | libpq_r (Lee Kindness <lkindness@csl.co.uk>) |
Ответы |
Re: libpq_r
Re: libpq_r |
Список | pgsql-hackers |
Lee Kindness wrote: > Guys, take a look at what was done in libpq to make it > thread-safe... No locks! No overheaded - just using "proper" reentrant > functions... > > If we have libpq_r then we're making a complete hash of it all - being > reentrant is good, even if you're not using threads! > > Now, ecpg is another issue... > I think the issue is that using a threaded library to link into libpq could have locking stuff. My guess is that if the OS has separate threaded libs, we have to mimic that stuff. -- 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 по дате отправления: