Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2021 05:50:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 259088] pthread_mutex_attr is not documented in pthread_mutex_init
Message-ID:  <bug-259088-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259088

            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: felix.the.red@gmail.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=3Dpthread_mutex_init&apropos=3D0&=
sektion=3D0&manpath=3DFreeBSD+13.0-RELEASE+and+Ports&arch=3Ddefault&format=
=3Dhtml

Consider the pthread mutex attributes when initializing a mutex.  While I c=
an
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?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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