From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ba4,781c6e5cfefa9d32,start X-Google-Attributes: gidf9ba4,public X-Google-Thread: f678f,3243e1c4cb5cf33 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1995-01-05 10:25:38 PST Path: nntp.gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!rutgers!dziuxsolim.rutgers.edu!uunet!news.sprintlink.net!redstone.interpath.net!tophat.mauney.com!mauney From: mauney@tophat (Jon Mauney) Newsgroups: comp.unix.osf.misc,comp.soft-sys.dce Subject: Re: Non-blocking DCE RPC Call Date: 5 Jan 95 18:25:38 GMT Organization: Mauney Computer Consulting Message-ID: References: <3eh4i8INN577@dur-news.ctron.com> Reply-To: jon@mauney.com NNTP-Posting-Host: jtec.mauney.com Xref: nntp.gmd.de comp.unix.osf.misc:2269 comp.soft-sys.dce:146 "Ronald D. Kurr" 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."