Date: Thu, 03 Nov 2022 18:39:54 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 267551] [PATCH] intro(3): Add `libstdthread` ISO C11 library Message-ID: <bug-267551-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267551 Bug ID: 267551 Summary: [PATCH] intro(3): Add `libstdthread` ISO C11 library Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: alois+freebsd@aloisklink.com CC: doc@FreeBSD.org Created attachment 237851 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D237851&action= =3Dedit `git format-patch` patch file Document `libstdthreads` (aka the ISO C11 `<threads.h>` library) in the intro(3) manpage. 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). --- My patch is also available on GitHub if that's easier, or if you'd prefer m= e to make a PR there for CI to run, see https://github.com/aloisklink/freebsd-src/commit/ed23dd8e5012251c2467ecc8dd= 1347646d5b54bf https://www.freebsd.org/cgi/man.cgi?query=3Dthrd_create is the documentatio= n for `libstdthreads` in case that helps! Also, apologies if the formatting on this description is a bit weird, for s= ome reason the description **Preview** window on Bugzilla is blank for me. I ca= n't see any JavaScript errors in my browser, but I have noticed that my fetch requests to https://bugs.freebsd.org/bugzilla/jsonrpc.cgi for method `Bug.render_comment` seem to be returning `{result: {html: null}, version: "1.1"}`, so maybe it's a server-side bug. --=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-267551-9>