Date: Sun, 1 Jun 1997 02:27:04 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen sleep.c usleep.c Message-ID: <199706010927.CAA02041@freefall.freebsd.org>
index | next in thread | raw e-mail
peter 1997/06/01 02:27:03 PDT
Modified files:
lib/libc/gen sleep.c usleep.c
Log:
Update the sleep(3)/usleep(3) code to use signanosleep(2) if compiled with
-DUSE_NANOSLEEP. Also, seperate the code for _THREAD_SAFE so that it uses
the simpler threaded nanosleep() call in libc_r.. We don't go to the same
extremes for emulating traditional sleep semantics (ie: eating any SIGALRM
that might happen) which things like apache seem to depend on.
Revision Changes Path
1.10 +59 -9 src/lib/libc/gen/sleep.c
1.9 +58 -8 src/lib/libc/gen/usleep.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706010927.CAA02041>
