Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: ziegenfE@moravian.edu (Eric W. Ziegenfus)
Subject: Re: RPC Continuation Passing
Date: Sat, 19 Feb 94 12:15:30 EST	[thread overview]
Message-ID: <ziegenfE.761677898@batman> (raw)
In-Reply-To: 2958@dsinet

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



      parent reply	other threads:[~1994-02-19 17:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-02-14 21:14 RPC Continuation Passing Gred Denton
1994-02-16  2:52 ` James Baker
1994-02-19 17:15 ` Eric W. Ziegenfus [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox