Date: Mon, 2 Jun 1997 09:30:23 -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: <199706021630.JAA12078@freefall.freebsd.org>
index | next in thread | raw e-mail
peter 1997/06/02 09:30:22 PDT
Modified files:
lib/libc/gen sleep.c usleep.c
Log:
Re-activate the nanosleep style using code, but with the signal handling
semantics of the old sleep for compatability with a few decades of expected
side effects. Apache breaks if we just use nanosleep() for some reason,
here we use a new signanosleep() syscall which is kinda like a hybrid of
sigsuspend and nanosleep..
Reviewed by: ache (and tested on his apache that was failing when
sleep used plain nanosleep)
Revision Changes Path
1.11 +1 -53 src/lib/libc/gen/sleep.c
1.10 +1 -57 src/lib/libc/gen/usleep.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706021630.JAA12078>
