Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 03:00:26 GMT
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/103430: sleep() in a pthread returns prematurely when a signal is recv.
Message-ID:  <200611270300.kAR30Q4Z038207@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/103430; it has been noted by GNATS.

From: David Xu <davidxu@freebsd.org>
To: bug-followup@FreeBSD.org,  mike@netronix.com
Cc:  
Subject: Re: kern/103430: sleep() in a pthread returns prematurely when a
 signal is recv.
Date: Mon, 27 Nov 2006 10:54:10 +0800

 sleep() can and should be interrupted by signal, otherwise
 this is a bug, the reason main thread's sleep() is not interrupted
 is dependent on the order how kernel or thread library select
 a thread which does not mask the signals.
 
 David Xu
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611270300.kAR30Q4Z038207>