Programmable idling...
Andrew Hume
andrew at alice.UUCP
Sat Nov 11 23:50:26 AEST 1989
In article <11575 at smoke.BRL.MIL>, gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
> In article <89312.165038SML108 at PSUVM.BITNET> SML108 at 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.
More information about the Comp.unix.questions
mailing list