Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* DECthreads & NCS/RPC
@ 1993-02-26  2:44 John Quillen
  1993-02-27  8:12 ` Watanabe Maki
  1993-02-27 10:43 ` Journal ? Frederic Montoya
  0 siblings, 2 replies; 3+ messages in thread
From: John Quillen @ 1993-02-26  2:44 UTC (permalink / raw)


Apologies for posting this to the osf group, but I know there are people who
read it that do threads.

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.

I've tried FIFO, RR & OTHER scheduling; controller at a higher priority
than the worker threads and vice versa for all three.  Nothing seems make
the rpc thread yield to the controller thread.  It seems rpc$sar() (in
proj_cstub.c) blocks until it gets the results back from the remote
host, and the thread isn't detecting this as a block.  I can't see
a way to insert a pthread_yield(), since I don't have (and don't really
want) access to rpc$sar().

I'm probably going to try switching my threading algorithm around.  I hope
to soon have DCE and start using it.  Maybe that'll give me more control?

Thanks for any ideas,

John
-- 
John Quillen  JW_Quillen@fccc.edu  Phone: (215) 728-3660  FAX: (215) 728-2513
Research Computing Services / The Fox Chase Cancer Center / Phila. PA, USA
		Pop quiz: Define the Universe, give two examples.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1993-02-27 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-26  2:44 DECthreads & NCS/RPC John Quillen
1993-02-27  8:12 ` Watanabe Maki
1993-02-27 10:43 ` Journal ? Frederic Montoya

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