| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | "Igor Kovalenko" <Igor(dot)Kovalenko(at)motorola(dot)com> |
| Cc: | "mlw" <markw(at)mohawksoft(dot)com>, "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: HEADS UP: Win32/OS2/BeOS native ports |
| Date: | 2002-05-04 00:05:39 |
| Message-ID: | 23481.1020470739@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Igor Kovalenko" <Igor(dot)Kovalenko(at)motorola(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-05-04 00:06:51 | Re: Using views and MS access via odbc |
| Previous Message | Tatsuo Ishii | 2002-05-03 23:56:31 | Re: a vulnerability in PostgreSQL |