1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00

*** empty log message ***

This commit is contained in:
Jim Blandy 1998-10-13 23:19:04 +00:00
parent b74f472891
commit eebc12c634
2 changed files with 33 additions and 0 deletions

View file

@ -1,3 +1,13 @@
1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
Don't redefine sleep/usleep.
* configure.in: Remove tests for usleep's argument type; we only
need that if we're going to replace it.
* acconfig.h (USLEEP_ARG_TYPE): Delete. All the other SLEEP
garbage is needed just to use usleep and sleep without compiler
warnings.
* configure: Regenerated.
1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
* configure: Regenerated.

View file

@ -1,3 +1,26 @@
1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
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.
* threads.h (scm_thread_usleep, scm_thread_sleep): New declarations.
* scmsigs.c (usleep): Clean up oddities declaring usleep; since
we're just using it, not redefining it, we can use a K&R style
declaration here.
(sleep): Declare this, too, if the system hasn't.
(scm_sleep, scm_usleep): Use scm_thread_sleep and
scm_uthread_sleep if they're available; otherwise, just call the
system functions.
* scmconfig.h.in: Regenerated.
* coop.c (scm_thread_sleep): Make `slept' an unsigned long.
* coop.c (coop_sleephelp): Remove ANSI #ifdef hair.
1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
* threads.c: Doc fix.