[haiku-bugs] Re: [Haiku] #2657: Implement XSI shared memory <sys/shm.h>

  • From: "0xffea" <trac@xxxxxxxxxxxx>
  • Date: Tue, 04 Jan 2011 20:07:49 -0000

#2657: Implement XSI shared memory <sys/shm.h>
---------------------------+------------------------------
  Reporter:  kaliber       |        Owner:  emitrax
      Type:  enhancement   |       Status:  new
  Priority:  normal        |    Milestone:  R1
 Component:  System/POSIX  |      Version:  R1/Development
Resolution:                |     Keywords:
Blocked By:                |  Has a Patch:  1
  Platform:  All           |     Blocking:
---------------------------+------------------------------

Comment (by 0xffea):

 bonefish: thanks for the very helpful comments!

 i tried to correct the style issues and not to use areas in kernel space.

 * create a cache with VMCacheFactory::CreateAnonymousCache
 * use VMAddressSpace->CreateArea and VMAddressSpace->InsertArea to create
 the area in user space

 hope this is the right way to do it. not sure about the proper locking.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/2657#comment:17>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: