Page MenuHomeFreeBSD

intro.3: Mention the 'libstdthread' ISO C11 library
ClosedPublic

Authored by gbe on Nov 6 2022, 10:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 20, 5:01 PM
Unknown Object (File)
Mon, Apr 20, 2:21 AM
Unknown Object (File)
Sat, Apr 18, 7:01 AM
Unknown Object (File)
Tue, Apr 14, 10:27 PM
Unknown Object (File)
Mon, Mar 30, 3:37 PM
Unknown Object (File)
Mon, Mar 30, 6:21 AM
Unknown Object (File)
Mar 27 2026, 8:17 AM
Unknown Object (File)
Mar 22 2026, 8:28 AM

Details

Summary

Document 'libstdthreads' (aka 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>

Test Plan

mandoc output review and 'mandoc -Tlint' checks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable