First page Back Continue Last page Overview Graphics

Events

The thread of execution leaves the caller completely when a task is started in another thread or on another host, so the function call paradigm does not fit. RPC is familiar for the programmer, but hell for the application. It leaves the “calling” thread in a wait state while the other thread or process does the work. Rather let the “caller” get on with something else.

So rather than RPC,

use event programming (as in X11).