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)
Sat, Oct 17, 2:22 AM
Unknown Object (File)
Fri, Oct 16, 7:07 PM
Unknown Object (File)
Wed, Oct 7, 6:03 AM
Unknown Object (File)
Wed, Oct 7, 4:40 AM
Unknown Object (File)
Wed, Oct 7, 4:31 AM
Unknown Object (File)
Fri, Oct 2, 1:56 PM
Unknown Object (File)
Sun, Sep 27, 7:13 AM
Unknown Object (File)
Fri, Sep 25, 7:31 PM

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