[lkml]   [1996]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: posix 4 extensions
Johnie Stafford wrote:

> 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.
> Johnie

Though I am pretty anxiously waiting for the posix.1b/posix.4
features as well, I would like you to take notice of the fact
that the feature of attaching a shared mem segment to a specified
address is already given with SysV IPC.

shm_root_p = shmat (shm_id, (char *)0xa0000000 ,0);

is a possible action. But anyway: the 'clean' solution for pointers
in shared memory would always be having addresses relative to the
segment's borders.


/* Volker Eberlein */
/* */

 \ /
  Last update: 2005-03-22 13:38    [W:0.059 / U:3.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site