Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!uwm.edu!uakari.primate.wisc.edu!ames!amdahl!pacbell!att!dptg!ulysses!andante!alice!andrew From: andrew@alice.UUCP (Andrew Hume) Newsgroups: comp.unix.questions Subject: Re: Programmable idling... Summary: whatever happened to pause? Message-ID: <10118@alice.UUCP> Date: 11 Nov 89 12:50:26 GMT References: <89312.165038SML108@PSUVM.BITNET> <11575@smoke.BRL.MIL> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 13 In article <11575@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn) writes: > In article <89312.165038SML108@PSUVM.BITNET> SML108@PSUVM.BITNET writes: > >Is there a way under System V unix to make a program idle until an interrupt > >condition is generated? > > The simplest thing is to block on a read() system call. Usually there > is a natural place to do this.. the pause(2) system call was designed for this. i am not positive system v still has this system call but i would think so.