*BSD News Article 30037


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!darwin.sura.net!ms!ar.cs.wm.edu!djryan
From: djryan@ar.cs.wm.edu (David J. Ryan)
Subject: unix process control
Message-ID: <1994Apr27.194302.12924@cs.wm.edu>
Sender: news@cs.wm.edu (News System)
Nntp-Posting-Host: ar.cs.wm.edu
Organization: College of William & Mary, founded 1693
Date: Wed, 27 Apr 1994 19:43:02 GMT
Lines: 14

I don't know if this is the correct forum for this, but...

If I have three processes running on a machine - a sun workstation -
can I dictate which one gets to run? The processes communicate between
each other via pipes; I want one process to get the cpu at regular
intervals (perhaps every 0.01 seconds) while the others hold. The others
would get the cpu otherwise. Using the sleep command won't work because
it is in seconds. Looping to kill time won't work since that obviously
still uses the cpu. Any suggestions?

Thanks,
Dave

djryan@cs.wm.edu