From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,be90b72212c05a10 X-Google-Attributes: gidf678f,public X-Google-Thread: 10b612,be90b72212c05a10 X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1993-02-27 00:12:11 PST Xref: sparky comp.unix.ultrix:10066 comp.unix.osf.misc:137 Newsgroups: comp.unix.ultrix,comp.unix.osf.misc Path: sparky!uunet!UB.com!pacbell.com!network.ucsd.edu!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!e2big.mko.dec.com!jrd-mail.jrd.dec.com!tkou02.enet.dec.com!maki From: maki@jit.dec.com (Watanabe Maki) Subject: Re: DECthreads & NCS/RPC In-Reply-To: quillen@orion.fccc.edu's message of 26 Feb 93 02:44:41 GMT Message-ID: Sender: usenet@news.jit.dec.com (USENET News System) Organization: Financial dist./EIC/DS/DEC-Japan References: <1mk06p$psi@rigel.fccc.edu> Date: Sat, 27 Feb 1993 08:12:11 GMT In article <1mk06p$psi@rigel.fccc.edu> quillen@orion.fccc.edu (John Quillen) writes: > I'm trying to combine DECthreads and RPC (NCS) in an application to do > distributed computing on a bunch of uni-processors (DEC 5000s w/Ultrix & > (soon) alphas w/OSF/1). When the rpc call is made the current thread seems > to wait for it. It doesn't yield, so I wind up with sequential distributed > computing, rather than parallel. Hello, John. The DECthread(CMA) is a "user context thread". For example, it replaces "read" system call to the "cma_read" jacket routine to implement "thread" on the OS without kernel thread service. DECrpc v1.0(NCS) doesn't build to work with the DECthread, so when the rpc library calls "read" then it will call the real "read", and it blocks your program as you know. FYI, the DCE RPC works with the DCE thread. wm -- Watanabe Maki General Service EIC/DEC-Japan Internet maki@jit.dec.com || maki@jit.dec-j.co.jp Easynet TKOV50::MA_WATANABE