Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 16:29:18 +0800
From:      David Xu <davidxu@FreeBSD.org>
To:        Heiko Wundram <modelnine@modelnine.org>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: pthread_mutexattr_settype non-conformance to man-page and POSIX
Message-ID:  <47E2205E.60902@freebsd.org>
In-Reply-To: <200803200832.16340.modelnine@modelnine.org>
References:  <200803200832.16340.modelnine@modelnine.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Heiko Wundram wrote:
> I hit a bug in libthr with pthread_mutexattr_settype which (at least as far as 
> I understand the POSIX reference and also the man-page) makes it 
> non-conformant to the specifications.
> 
> Quoting:
> 
> """
> RETURN VALUES
>      If successful, these functions return 0.  Otherwise, an error number is
>      returned to indicate the error.
> ...
> ERRORS
> ...
>      The pthread_mutexattr_settype() function will fail if:
> 
>      [EINVAL]           Invalid value for attr, or invalid value for type.
> """
>

Fixed, thanks!

David Xu




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