[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clisp equivalent of sleep?



Is there an equivalent of sleep in clisp?  

I'm using clisp on machine A to start up several jobs on other machines
(B and C) and these jobs will eventually send some output to A.
(Using run-program or make-pipe-input-stream to start the jobs.)
Right now I use a loop over each machine which runs read-char-no-hang
to see if anything has been sent.  While this does what I want,
machine A uses 100% CPU while busy waiting.  A carefully inserted
sleep would help this out.

Or have I totally missed the boat and there is some other solution?
Any suggestions?

Thanks,

Ray