Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 1997 17:01:37 -0600 (CST)
From:      Alex Nash <nash@mcs.com>
To:        deischen@iworks.InterWorks.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: pthread_cond_timedwait returning wrong error?
Message-ID:  <199711232301.RAA19042@zen.nash.org>
In-Reply-To: <199711232120.PAA23932@iworks.InterWorks.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 23 Nov, Daniel M. Eischen wrote:
> 
> Is EAGAIN the correct error for a timeout from a
> pthread_cond_timedwait() call?  I would think that
> ETIMEDOUT would be more appropriate.

According to my 1996 edition of ANSI/IEEE std 1003.1, you are correct --
ETIMEDOUT should be returned.  I've committed a fix for this into
-current.

Thanks.

Alex





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