Date: Tue, 12 Oct 2021 05:50:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259088 Bug ID: 259088 Summary: pthread_mutex_attr is not documented in pthread_mutex_init Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: email@example.com CC: doc@FreeBSD.org This bug report is based on a gripe in the Discord channel, and is reported for Jesse. https://www.freebsd.org/cgi/man.cgi?query=pthread_mutex_init&apropos=0&sektion=0&manpath=FreeBSD+13.0-RELEASE+and+Ports&arch=default&format=html Consider the pthread mutex attributes when initializing a mutex. While I can check these on the linux man pages, I have no reason to believe (unless they observe the same POSIX restrictions) that their implementation semantics are identical. How am I intended as a user to become educated on this type of thing on FreeBSD? That page only states what the behavior of the function for the attribute pointer when it is null, but not for any other value. Am I really supposed to just go digging in the source code? -- You are receiving this mail because: You are on the CC list for the bug.