I suggest you ...

Additions to the MemoryMapped namespace in .Net4.0 Framework

Additions to the MemoryMapped namespace in .Net4.0 Framework
The memory mapping is set up like a file so could you add:-

Missing Method:
if.exist which will check that file name X exist unlike now via an exception

Missing Events:

OnChange (Memory X has changed)
OnClosed (MemoryFile has closed)
OnOpened (MemoryFile has opend)
Etc...

e.g. CreateView(Address etc).OnChange(Addressof,MyHandler)

Why?
Application A shares memoryFileX
Application B also shares memoryFileX
B's event is rased as A changes data . E.g A reads database and sends B new IP addess via shared memory

The only way now is to have a blocking thread which is yet another CPU overhead.

Kind Regards

David Rathbone
Snr Developer RAL

4 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    David RathboneDavid Rathbone shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base