<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/88067>88067</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc][docs] generate docs for threads.h
</td>
</tr>
<tr>
<th>Labels</th>
<td>
documentation,
good first issue,
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nickdesaulniers
</td>
</tr>
</table>
<pre>
Using [n3096](https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf) Section 7.28, we should fill out the function list in a new file called libc/utils/docgen/threads.json (so that we have entries about which standard section talks about what, similar to libc/utils/docgen/fenv.json).
Then we should run ./libc/utils/docgen/docgen.py threads.h > libc/docs/threads.rst to create a page for threads.h.
Then we should add a link to threads in libc/docs/index.rst so that it's linked from libc.llvm.org (similar to fenv).
We need to add [the include for |check|](https://github.com/llvm/llvm-project/commit/e127997155a1cd1c5692c42aad074064c8dad099) to be recognized.
https://github.com/llvm/llvm-project/issues/87835 and https://github.com/llvm/llvm-project/pull/87946 are recent examples
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykVMGOpDYQ_RpzKS3CZWjgwGFnOvxAEuVs7AI8Y-yWbaZ38_WR6entTJSNNMoFEK6q9-r5VckYzeKIBtY8seZcyD2tPgzOqFdNUe7WGQqxmLz-PvwejVuANU9OVP2JNWeG3ZrSJTLxleHIcLxer6W_kPsSky59WBiOL0lxhmNUiDlg4fUtjuGovYoMx6NaedEzwx5-JZWMd9CW2DF8hitBXP1uNczGWvB7grQSzLu7xVkTExgHEhxdcwyBktaSBmsmxXDck7HxBraQYzimNZDUsXyJ3gHDLnpIq0wZaZVvBORSMBRBThnsuhq1QkzSaRk0xHd6SdrXR4hMmWo0m7EyQPI_xZ7JvR3ADPuSVWdWfb09f1vJ_a3XsDsoGY4_q3P7KC_f4d7NCkz8csd9F_Z-FmLKpFQgmQgkXORCMPvwSP4vLlJrkGCNe81F3lOy5B_BjNP07YC6C2oSwzYemaRhDn47Ukpr37ZsjkP8h2ZZm3_K8geBI9L5ONNgzVO-fOOU3fWtBdY-q5XUK2uf_82Qi0nrPpXKb1lN-3Z_fbkE_0IqMRyV37ZMdSSObd-3vGkkV5qr5tSjqlFKXbV1dapVp6Wu-j7bNHmYCAIpvzjzJ-kPrD9NwcS4UxaxazvRgHQaPl3jslt7VOjrE8hwkCOXgL7J7WIpFnoQuhe9LGjgLccT77AXxTp0NZ-alvNqxlkLNemu1qLmEyfdtapqCzNghXVVVx0K3nFRzjMXQrScKyFOfV2zuqJNGvvjZoujoaHrqlNbWDmRjcd-QdRe7Ru5JPMUsbwSnhni4n2e72yeI_PHwc1imBdTGI6Gp32JrK7y2McHXjLJHivsSGjOrHk6bNmcYSFHIfs-__jo-mIPdvgfl5Xb-ysAAP__kPmy6g">