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
1 comment
-
David Rathbone
commented
Great Idea!