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)
Fri, Oct 18, 9:02 AM
Unknown Object (File)
Fri, Oct 18, 9:02 AM
Unknown Object (File)
Fri, Oct 18, 9:02 AM
Unknown Object (File)
Fri, Oct 18, 8:31 AM
Unknown Object (File)
Sep 29 2024, 4:26 AM
Unknown Object (File)
Sep 29 2024, 4:20 AM
Unknown Object (File)
Sep 29 2024, 2:15 AM
Unknown Object (File)
Sep 28 2024, 4:50 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