| От | Qingqing Zhou |
|---|---|
| Тема | Re: Simplify Win32 Signaling code |
| Дата | |
| Msg-id | d7opvm$16lq$1@news.hub.org обсуждение исходный текст |
| Ответ на | Re: Simplify Win32 Signaling code ("Magnus Hagander" <mha@sollentuna.net>) |
| Список | pgsql-patches |
In thread: http://archives.postgresql.org/pgsql-hackers-win32/2004-11/msg00010.php --- >Do we actually need to pass the handle, or could the subprocess reopen >the pipe for itself? Nope, we need to pass the handle. Only one process can be the server-side of the pipe, and once the postmaster has opened it, the child process can't do it - the only way to get it is through inheritance. --- In current implementation, we can reopen it, but the problem is that when postmaster should close those three (shmem, mutex, event) handles? So the best way is still "Postmaster create them, duplicate these handles in BackendParameters and the child inheritates them". Do I got your meaning? Regards, Qingqing
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера