|
From: Tom H. <th...@cy...> - 2004-02-20 08:19:44
|
In message <ICE...@at...>
Chris January <ch...@at...> wrote:
> Plain old MAP_SHARED isn't supported on Linux so that would mean using POSIX
> shm (shm_open, /dev/shm) instead. I'm not sure how portable that is.
What do you mean by "plain old" exactly? I wasn't aware of any problem
with MAP_SHARED on linux.
I didn't even realise there was a POSIX shared memory interface, but
it does look like it fixes the worst of the Sys V shared memory
problems, the greatest of which is a tendency to leak the shared
memory if the owning process dies unexpectedly.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|