| От | Tom Lane |
|---|---|
| Тема | Re: Win32 semaphore patch |
| Дата | |
| Msg-id | 26606.1145557207@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Win32 semaphore patch ("Magnus Hagander" <mha@sollentuna.net>) |
| Список | pgsql-patches |
"Magnus Hagander" <mha@sollentuna.net> writes:
> For #2, yes, the semaphores will go away when the last process holding a
> HANDLE to it goes away.
Well, that raises an interesting point: exactly where in this code does
ownership of the HANDLEs get propagated to the child processes? As
written, the HANDLEs seem to belong only to the postmaster --- will the
kernel calls even work in the child processes? According to what
someone was telling me the other day, HANDLEs are process-local, so just
storing them in shared memory doesn't seem like it should work.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера