Re: sharing memory map between processes (same parent)



On Tue, 29 Apr 2008 09:54:26 +1200 Ian Collins <ian-news@xxxxxxxxxxx> wrote:

|> There's no need to open the mapping twice. It's only needed one. The
|> idea is for one process to go ahead and open and map the file and have
|> it all ready, maybe even with a few pages referenced, and hand it over
|> to the next process. That's what I do now with open descriptors. One
|> process opens the descriptor and hands it over to another process to
|> read from.
|>
| Well that's the normal way of doing things (passing an fd between
| processes), is it causing problems? There shouldn't be much of a
| performance hit from remapping the file.

I'm just exploring to see if there is something better. Threading should be
better, but I want to explore possible ways to avoid threading.

--
|WARNING: Due to extreme spam, I no longer see any articles originating from |
| Google Groups. If you want your postings to be seen by more readers |
| you will need to find a different place to post on Usenet. |
| Phil Howard KA9WGN (email for humans: first name in lower case at ipal.net) |
.



Relevant Pages

  • Re: sharing memory map between processes (same parent)
    ... idea is for one process to go ahead and open and map the file and have ... That's what I do now with open descriptors. ... process opens the descriptor and hands it over to another process to ... Setting up mappings is relatively expensive, so it should only be done in the process that is going to use the mapping. ...
    (comp.unix.programmer)
  • Re: Ultima 7 hotkeys
    ... Did I forget the proper hotkeys, are they from U7II, or something ... Fellowship book, the map, and the coordinates grid for the map (the ... I - opens inventories, keep hitting to open party members packs too ... Esc - close save/load window, ...
    (rec.games.computer.ultima.dragons)
  • dialog boxes very slow
    ... When I open the dialog box 'File/Open' in a Windows Office application (e.g. ... Word2002, Access2002) and I select a drive or map, it works very slow: ... have to wait many seconds before the map opens. ... greatest problems (even when the VPN-connection is closed). ...
    (microsoft.public.word.docmanagement)
  • Re: HELP - Big problem opening web project in VS.NET
    ... >projects" before I'm allowed to exit Visual Studio. ... >"The open from source control operation has failed for this project. ... The two need to map to the same server location. ... >solution opens ok apart from the Web Project in question, ...
    (microsoft.public.vstudio.sourcesafe)
  • Re: Useful map
    ... Interested to see the DP's for our East coastal reporting stations are so ... Opens map of North America ... > The default location can be changed by going to the 'change details' and ...
    (uk.sci.weather)