Re: posix 4 extensions

Stephen C. Tweedie (sct@dcs.ed.ac.uk)
Thu, 1 Aug 1996 18:31:16 +0100


Hi,

On Thu, 1 Aug 96 07:41 CDT, jms@pobox.com (Johnie Stafford) said:

>>>> On Wed, 31 Jul 1996 19:32:19 +0100 (BST), alan@lxorguk.ukuu.org.uk (Alan Cox) said:
>>> What about the posix.4 shared memory objects? Any chance we might ever
>>> see them? The ability to map shared memory segments to the same
>>> logical address in several different processes would make the use of
>>> pointers in shared memory possible.

ac> Both mmap() and SYS5 shared memory can already do that

> That's true, I just think that having a program specify an absolute
> memory location for data to be rather ugly.

Using mmap(), you don't have to. In fact, fixed addressing with
MAP_FIXED in mmap is positively discouraged.

Cheers,
Stephen.

--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.