Don't redefine sleep and usleep.
authorJim Blandy <jimb@red-bean.com>
Tue, 13 Oct 1998 23:17:09 +0000 (23:17 +0000)
committerJim Blandy <jimb@red-bean.com>
Tue, 13 Oct 1998 23:17:09 +0000 (23:17 +0000)
commit6aa9316dea8f1eb68a36c590ded0460ab9fcd28b
treee941724f26304bbedb8976edc5426ec7779e0c71
parentda7532528c1b156a8ca92798af66c460e72f34fd
Don't redefine sleep and usleep.
* coop.c (sleep, usleep): Remove declarations; we don't use or
redefine these any more.
(scm_thread_usleep, scm_thread_sleep): New functions which do the
job of usleep and sleep in a thread-friendly way.  We can use
these in the rest of Guile.  Define versions for systems both with
and without iselect.
* coop.c (scm_thread_sleep): Make `slept' an unsigned long.
* coop.c (coop_sleephelp): Remove ANSI #ifdef hair.
libguile/coop.c