| От | Kevin Brown |
|---|---|
| Тема | Re: On file locking |
| Дата | |
| Msg-id | 20030131084639.GM12957@filer обсуждение исходный текст |
| Ответ на | Re: On file locking (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Tom Lane wrote: > But this only wins if a child process inheriting an open file also > inherits copies of any locks held by the parent. If not, then the > issue is moot. Anybody have any idea if file locks work that way? > Is it portable?? An alternate way might be to use semaphores, but I can't see how to do that using the standard PGSemaphores implementation: it appears to depend on cooperating processes inheriting a copy of the postmaster's heap. And since the POSIX semaphores default to unnamed ones, it appears this idea is also a dead end unless my impressions are dead wrong... -- Kevin Brown kevin@sysexperts.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера