[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
clisp equivalent of sleep?
- To: CLISP Mailing List <firstname.lastname@example.org>
- Subject: clisp equivalent of sleep?
- From: Raymond Toy <email@example.com>
- Date: Tue, 20 Jun 1995 17:19:26 -0400
- Cc: firstname.lastname@example.org
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?