| От | Tom Lane |
|---|---|
| Тема | Re: HEADS UP: Win32/OS2/BeOS native ports |
| Дата | |
| Msg-id | 23481.1020470739@sss.pgh.pa.us обсуждение |
| Ответ на | Re: HEADS UP: Win32/OS2/BeOS native ports ("Igor Kovalenko" <Igor.Kovalenko@motorola.com>) |
| Список | pgsql-hackers |
"Igor Kovalenko" <Igor.Kovalenko@motorola.com> writes:
> It does not have to be anonymous. POSIX also defines shm_open(same arguments
> as open) API which will create named object in whatever location corresponds
> to shared memory storage on that platform (object is then grown to needed
> size by ftruncate() and the fd is then passed to mmap). The object will
> exist in name space and can be detected by subsequent calls to shm_open()
> with same name. It is not really different from doing open(), but more
> portable (mmap() on regular files may not be supported).
Yes, but can you detect whether other processes have the same file open?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера