<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - include/c11/threads_posix.h PTHREAD_MUTEX_RECURSIVE_NP not defined"
href="https://bugs.freedesktop.org/show_bug.cgi?id=88534">88534</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>include/c11/threads_posix.h PTHREAD_MUTEX_RECURSIVE_NP not defined
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>felix.janda@posteo.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=112394" name="attach_112394" title="Proposed patch">attachment 112394</a> <a href="attachment.cgi?id=112394&action=edit" title="Proposed patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=88534&attachment=112394'>[review]</a>
Proposed patch
The non-portable version of PTHREAD_MUTEX_RECURSIVE is used since older glibc
didn't have the POSIX version. The attached patch makes the code only fall back
to PTHREAD_MUTEX_RECURSIVE_NP if PTHREAD_MUTEX_RECURSIVE is not defined. This
fixes compilation with other libcs such as musl, which don't have the
nonstandard version.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>