From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,369c0f37af7a51b X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-02-19 09:15:30 PST Newsgroups: comp.unix.osf.misc Path: gmd.de!xlink.net!howland.reston.ans.net!agate!msuinfo!netnews.upenn.edu!batman!ziegenfE From: ziegenfE@moravian.edu (Eric W. Ziegenfus) Subject: Re: RPC Continuation Passing Message-ID: Nntp-Posting-Host: batman References: <2958@dsinet> Date: Sat, 19 Feb 94 12:15:30 EST In <2958@dsinet> gregd@jaws (Gred Denton) writes: >There was a recent question in the group concerning a process in the >dual role of a client and server. What I would like to know is if a >server could *completely* delegate its role as server to a third >process. In other words, could process A make an RPC to process B >which calls process C that actually does the return of A's RPC to B >(and also returns B's RPC to it)? This would be a kind of >"continuation passing" mechanism. >I fear not, but I assume the passing of addresses is easily done: >Process B could return A's RPC and then call process C with A's >address and C could then call A (assuming A is an appropriate server). >Is this assumption correct? I know this second option would work as that's how I just implemented a RPC system. A known server would assign workers to do the work and return results to a client who is waiting in server mode. The workers would register themselves with the manager server and wait for work for it. It's not really all that complex. -- Eric W. Ziegenfus ziegenfE@moravian.edu No matter where you go Ain't no time 2 hate. there you are! Te/vzemei un Bri/vi/bai Greatful Dead Buckaroo Bonzai