Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 May 1997 13:04:48 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Peter Wemm <peter@spinner.dialix.com>
Cc:        Bruce Evans <bde@zeta.org.au>, peter@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc/gen sleep.c 
Message-ID:  <Pine.BSF.3.96.970518125858.1211A-100000@nagual.pp.ru>
In-Reply-To: <199705180751.PAA05367@spinner.DIALix.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 May 1997, Peter Wemm wrote:

> My current version is compatable with this, *except* that it doesn't seem 
> convenient to mask SIGALRM while preparing to call nanosleep().  Doing a 
> longjump out of the signal handler seems like overkill...
> 
> I'm using this at present:

Good news, this variant works with Apache, lets commit it.

BTW, I see race condition when SIGALRM comes inside sleep() code
before nanosleep() call. It can be blocked before, but how to unblock it
inside nanosleep()? 


-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.pp.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970518125858.1211A-100000>