[Bug 211802] pthread_mutexattr_setprioceiling fails with EINVAL if m_protocol != PTHREAD_PRIO_PROTECT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 13 04:46:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211802

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: ngie
Date: Sat Aug 13 04:45:40 UTC 2016
New revision: 304036
URL: https://svnweb.freebsd.org/changeset/base/304036

Log:
  Expect :mutexattr2 to fail on FreeBSD

  pthread_mutexattr_getprioceiling and pthread_mutexattr_setprioceiling
  both return EINVAL if ->m_protocol != PTHREAD_PRIO_PROTECT. The
  reasoning behind this decision isn't documented in neither the FreeBSD
  nor the OpenGroup manpages.

  Add printf's to add in debugging the issue

  PR:           211802
  Sponsored by: EMC / Isilon Storage Division

Changes:
  projects/netbsd-tests-update-12/contrib/netbsd-tests/lib/libpthread/t_mutex.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list