• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Shared Memory and Distributed Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shared Memory and Distributed Objects


  • Subject: Re: Shared Memory and Distributed Objects
  • From: Dan Bernstein <cocoa-dev%email@hidden>
  • Date: Sun, 16 Feb 2003 22:10:12 +0200

On Sunday, February 16, 2003, at 10:00 PM, Kaelin Colclasure wrote:

mmap() is not used with System V shared memory objects (AFAIK). The fd mmap() wants is a normal filesystem file handle.
[snip]
From what you've described, I'd suggest delving a bit deeper into mmap().

Thanks. But right now I'm lost. In order to be able to map the same memory from two processes, what should I do? Specifying a shared memory object doesn't work (so where *do* they work in Darwin?), so I guess I should give mmap() a normal filesystem file handle. But then isn't stuff going to get written to disk by sync() every now and then, even if I have enough real memory to hold it in, at least unnless I...
tweak various kernel parameters to achieve usable results.)
?

Thanks,
-- Dan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Shared Memory and Distributed Objects
      • From: Kaelin Colclasure <email@hidden>
References: 
 >Re: Shared Memory and Distributed Objects (From: Kaelin Colclasure <email@hidden>)

  • Prev by Date: Re: Shared Memory and Distributed Objects
  • Next by Date: Re: Get path to user preference folder, problem solved!
  • Previous by thread: Re: Shared Memory and Distributed Objects
  • Next by thread: Re: Shared Memory and Distributed Objects
  • Index(es):
    • Date
    • Thread