Interprocess Communication...
- Posted by Patrick Barnes <mrtrick at gmail.com> Nov 10, 2004
- 521 views
I'm trying to use PatRat's IPC.ew library, and I have a few questions about how it all works... (Basically, it does some trickery with shared memory, call_backs, and other low-level stuff) I have two programs running, A & B. B has registered a function with the library. A uses ipc_CallProc() to call the function in B. In what process does the function within program A run? A or B? If there is a run-time error within B's function that A called, what happens? Is there anyway to set some kind of time-out in the inter-program call, so that if something goes wrong inside the other program (like an infinite loops, etc) it can still return? -- MrTrick