in reply to Highly efficient variable-sharing among processes
Can anyone think of an efficient way to code this?
Yes. Under Windows, this is quite trivial. The mechanism is called Aynchronous remote procedure call. When the 'remote' process is in the same address space, this is a highly efficient mechanism.
I suspect that if you look outside of POSIX and OSF-DCE, then you will find a mechanism and library that works with the raw Linux kernel to provide an equivalent mechanism. I have no idea what it is called; but a quick google turns up:
Beyond that, I have no relevant knowledge for *nix; so please take this in the spirit it is meant: that of a lead for you to follow on the understanding that I don't know if it will lead to anything useful to you or not.
|
|---|