| От | Duane Currie |
|---|---|
| Тема | Re: [HACKERS] Threads |
| Дата | |
| Msg-id | 199908031333.KAA08666@sandman.acadiau.ca обсуждение |
| Ответ на | Re: [HACKERS] Threads (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> "Ross J. Reedstrom" <reedstrm@wallace.ece.rice.edu> writes: > > Hmm, what about threads in the frontend? Anyone know if libpq is thread > > safe, and if not, how hard it might be to make it so? > > It is not; the main reason why not is a brain-dead part of the API that > exposes modifiable global variables. Check the mail list archives > (probably psql-interfaces, but maybe -hackers) for previous discussions > with details. Earlier this year I think, or maybe late 98. hmmm... usually this is repairable by creating wrapper functions which index the variables by thread id, and enforcing the use of the functions... (maybe something for a wish list...) Duane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера