Summary: | intro(3): Add `libstdthread` ISO C11 library | ||||||
---|---|---|---|---|---|---|---|
Product: | Documentation | Reporter: | Alois Klink <alois+freebsd> | ||||
Component: | Manual Pages | Assignee: | Gordon Bergling <gbe> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | CC: | doc, gbe | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://reviews.freebsd.org/D37284 | ||||||
Attachments: |
|
Description
Alois Klink
2022-11-03 18:39:54 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8a220816c72261efce304568498279fdda6b57cb commit 8a220816c72261efce304568498279fdda6b57cb Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-11-07 10:34:00 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-11-07 10:34:00 +0000 intro.3: Document 'libstdthreads' (the ISO C11 '<threads.h>' library). It's still relatively uncommon to see C11 '<threads.h>' being used, but it's worth documenting, especially since FreeBSD requires a different library for C11 threads compared to glibc (part of '-lpthread') or musl libc (included by default). PR: 267551 Submitted by: Alois Klink <alois plus freebsd at aloisklink dot com> Reviewed by: pauamma MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D37284 share/man/man3/intro.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (In reply to commit-hook from comment #1) Awesome :) Thanks for fixing on the `main` branch! I'll leave this bug open, since it's potentially worth back-porting too, but I'll leave that up to you guys to decide, since it's just a man-page change. Feel free to close whenever you want! A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=1bffa20445ff28f82fbf770b5cdda06b0727c119 commit 1bffa20445ff28f82fbf770b5cdda06b0727c119 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-11-07 10:34:00 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-11-10 06:06:02 +0000 intro.3: Document 'libstdthreads' (the ISO C11 '<threads.h>' library). It's still relatively uncommon to see C11 '<threads.h>' being used, but it's worth documenting, especially since FreeBSD requires a different library for C11 threads compared to glibc (part of '-lpthread') or musl libc (included by default). PR: 267551 Submitted by: Alois Klink <alois plus freebsd at aloisklink dot com> Reviewed by: pauamma Differential Revision: https://reviews.freebsd.org/D37284 (cherry picked from commit 8a220816c72261efce304568498279fdda6b57cb) share/man/man3/intro.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) A commit in branch stable/12 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=d96d13cfa5232e13143f510c931bac2c152a5e54 commit d96d13cfa5232e13143f510c931bac2c152a5e54 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-11-07 10:34:00 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-11-10 06:09:32 +0000 intro.3: Document 'libstdthreads' (the ISO C11 '<threads.h>' library). It's still relatively uncommon to see C11 '<threads.h>' being used, but it's worth documenting, especially since FreeBSD requires a different library for C11 threads compared to glibc (part of '-lpthread') or musl libc (included by default). PR: 267551 Submitted by: Alois Klink <alois plus freebsd at aloisklink dot com> Reviewed by: pauamma Differential Revision: https://reviews.freebsd.org/D37284 (cherry picked from commit 8a220816c72261efce304568498279fdda6b57cb) share/man/man3/intro.3 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) Committed and MFC to stable/12 and stable/13. Thanks for the patch! |