<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88580>88580</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc] move CndVar
</td>
</tr>
<tr>
<th>Labels</th>
<td>
code-cleanup,
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nickdesaulniers
</td>
</tr>
</table>
<pre>
I think we can reuse libc/src/threads/linux/CndVar.h for BOTH C11 threads AND pthreads. If so, we should move it to libc/src/__support/threads/ and perhaps make it not return C11 specific values like thrd_success/thrd_error (particularly since our thrd_success currently is not zero).
Forked from #85282.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkkGPmzAQhX-NuYwWgQ0LHDjsJoq6l_ZS9Ro59hDcGBvN2Gm3v76CbFXtZSxLnvee_D3N7K4BcRTtq2iPhc5pjjQGZ24WWWcfHBIXl2jfxzdIsws3-IVgdADCzAjeXYyQJ6ZtpplQWxby5F3Iv4U8HYL9oamcYYoEr9--f4FDXcPHO3j5eoT141ICvE3AUcjD5sBzzN7CEu8ILkGKn53OZ87rGil9cgUdLKxIs14ZFn3bV0NMQJgyhd2bVzRucgbu2mdk8O6GWyB75mwMMj8U7RmJIoGQ_aopOZO9Jv8O7IJBiJk-7YDJRBiSfwfHu-MfpCjkUIrqKKqXxzxFuqGFieICQqq-lb0sCzsqO6hBFzjWXS2H9rnrmmIeTauURiV7M6GyQ9tgZZVSvTFK2WbqCzfKSjZVU0tZ14NSZTdMrZ5s93zBbhq6WjQVLtr50vv7Uka6Fo4549j3bV8VXl_Q8w5eShMtPhmPOuRVSCnkQUj5-HG59YLGTePpkq8smso7TvxfNbnk9wbtC-3xQe2BvsjkxzmllYV6EfIk5Onq0pwvpYnLVhR__3c8rRR_otmQ7jk3EnvUvwEAAP__AZreWw">