pthread_mutexattr_settype non-conformance to man-page and POSIX
David Xu
davidxu at FreeBSD.org
Thu Mar 20 01:28:01 PDT 2008
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
More information about the freebsd-stable
mailing list