* Non-blocking DCE RPC Call
@ 1995-01-05 15:51 Ronald D. Kurr
1995-01-05 18:25 ` Jon Mauney
1995-01-05 23:28 ` John Dilley
0 siblings, 2 replies; 3+ messages in thread
From: Ronald D. Kurr @ 1995-01-05 15:51 UTC (permalink / raw)
From the literature I've read, it seems that a DCE client can make a
non-blocking RPC call. What I haven't been able to find out is whether
a call-back mechanism is used or if the client programmer is expected
to make use of DCE threads to achieve the parallelism? Please send
responses to kurr@ctron.com.
Thanks,
Ron
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Non-blocking DCE RPC Call
1995-01-05 15:51 Non-blocking DCE RPC Call Ronald D. Kurr
@ 1995-01-05 18:25 ` Jon Mauney
1995-01-05 23:28 ` John Dilley
1 sibling, 0 replies; 3+ messages in thread
From: Jon Mauney @ 1995-01-05 18:25 UTC (permalink / raw)
"Ronald D. Kurr" <kurr@ctron.com> writes:
>From the literature I've read, it seems that a DCE client can make a
>non-blocking RPC call. What I haven't been able to find out is whether
>a call-back mechanism is used or if the client programmer is expected
>to make use of DCE threads to achieve the parallelism? Please send
>responses to kurr@ctron.com.
The usual approach is to have the client spawn a new thread and
let the thread make a blocking RPC. All RPCs in DCE are blocking.
You could also program the server to return quickly, do the real work
asynchronously, then make a callback, if that seemed appropriate.
I've crossposted to comp.soft-sys.dce, which is the more appropriate
newsgroup for DCE questions.
--
Jon Mauney jon@mauney.com
Mauney Computer Consulting (919) 828-8053
Raleigh NC
"Have TGT, will travel."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Non-blocking DCE RPC Call
1995-01-05 15:51 Non-blocking DCE RPC Call Ronald D. Kurr
1995-01-05 18:25 ` Jon Mauney
@ 1995-01-05 23:28 ` John Dilley
1 sibling, 0 replies; 3+ messages in thread
From: John Dilley @ 1995-01-05 23:28 UTC (permalink / raw)
> From the literature I've read, it seems that a DCE client can make a
> non-blocking RPC call. What I haven't been able to find out is
> whether a call-back mechanism is used or if the client programmer is
> expected to make use of DCE threads to achieve the parallelism?
> Please send responses to kurr@ctron.com.
I believe the non-blocking call you are referring to uses the
"maybe" semantics of RPC. With a "maybe" call the sender posts a
one-way RPC (message, really) to a receiver. The "RPC" returns when the
call has been posted -- not delivered or executed, just successfully
transmitted to the network. There are no return parameters on a "maybe"
RPC so there will be no callback; nor does the programmer have to read
the results from a futures structure or anything. Hope this helps. Regards,
> Thanks,
>
> Ron
-- jad --
John Dilley <jad@hpl.hp.com>
Hewlett-Packard Laboratories
1501 Page Mill Road MS 1U-19
Palo Alto, CA 94304 // USA
http://nexus.hpl.hp.com/~jad
________________________________________
I know of no safe depository of the ultimate powers of the society
but the people themselves, and if we think them not enlightened enough
to exercise that control with a wholesome discretion, the remedy is
not to take it from them, but to inform their discretion.
-- Thomas Jefferson, 1820
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1995-01-05 23:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-05 15:51 Non-blocking DCE RPC Call Ronald D. Kurr
1995-01-05 18:25 ` Jon Mauney
1995-01-05 23:28 ` John Dilley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox