Posix shared memory problem
Dag-Erling Smørgrav
des at des.no
Mon May 11 10:16:37 UTC 2009
Lothar Scholz <scholz at scriptolutions.com> writes:
> Some idiots started to think about this as a file path. But it isn't
> and it shouldn't. Thats what this spec is saying in the typical commitee
> polite form when some members made a mistake but are to important to
> be blamed in public.
You are wrong. The standard says what it says specifically because it
makes it possible to implement semaphores and shared memory in terms of
file operations. I've been there and done that.
> So this needs to be fixed.
You've already been told that it *has* been fixed (or rather changed,
since it was not broken to begin with) in head.
> If i have to find a useable filefile location anyway the whole function does
> not make any sense, then i can directly use mmap. The purpose is to
> have a unique name (and in 2009 it is an URI not a file path). Thats
> how serious non kiddy operating systems are doing like
> Linux/Solaris/MacOSX-Darwin/HP-UX.
Insulting the developers will get you nowhere.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-arch
mailing list