From nobody Thu Nov 10 06:09:52 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N7BJJ4c7sz4f5Kn; Thu, 10 Nov 2022 06:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N7BJJ4C8Tz4K5m; Thu, 10 Nov 2022 06:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668060592; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Off2w9kjK5Z5I7OOu3m0mSwsrF/5QVMmSs11mu6+kTw=; b=p12mqY8aU9k1oPDJPmM2fdlqC2CTsVUXiL5amqSH98eTgLiLgOUshJONr9j19WEI6Lsqds q4zV5clDJ1qMr94of+bUbZ+QQrxctojwmz9DraE2huSc7G9J42m/GyPv7wuCQhj+krs5s2 ca2twvCcRUDsKesuRmw7szl817Lnx+e3foBqT2p71oB2uFDsn5H9bVc5E3VqQNI51I7Kpe Pb0eMtD/LosQgjs82A4vx/A8QdBQoS8XHgCv0haYC+eSkd1c3Sk2z6n+acB7H04sViRPMd 4Ey8sp7fw7IjCkTj9r0j3yRKaKrnyp+xB+IPDPt6ZGbgR+FcHU2/CYNLx2yBdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668060592; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Off2w9kjK5Z5I7OOu3m0mSwsrF/5QVMmSs11mu6+kTw=; b=v04nzYICxVgVihEWj0JUHXj/XzT//NN8UlDp7iRbHV6Nrv/tF30ThOsMuicCY1iWinRFLx /KVq7YZ8JZ/wvE6dFxonCErYZwkdBR2ar80HP+EsOLq1dJ3s5AekvRD9O2dkJ2ibjiVR5i qKMTEPeIWXpNMm7BT9gAmSzPROE4GT+cHmxOeUqpIn4ZENR99tXZGEOqCTY5sVwD4fGi9k fhM7q06+ZqhPy1EXAwRZMJDuhjjYJhBvTnIf7/ftS0p/EGACGZ4vHL5JkJRksORT2IkFNR EhFzkNCb5JJFjA2oIvJYbiejtYNh800uXtdYZx3tUm2dc0pDPSMkIYmgBooDDg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668060592; a=rsa-sha256; cv=none; b=V+YvV/a5DOc1TIFSP5QtEAwoil2ofIfl8F7KYy/EQQM6n2KQIDvn/Ef88ZU/H1FhZp3zSx Ozlj7h1Pn32kuNZPf8FL3acVwmnGOwOyvJWKOvtaxyJnJND4UJWQb/c4qfo6Bw4IC6H4Xt S91crhgVdHYwrTB99dnQvtPuNSLpC3hRSbOLFJyvqQqZdOTvpKMGTga6zRVvTGH8KGVYP1 ykQ9H0o03IyJCGe0lnV/N9olFNXkM3KGQ4Q7oTI7Ny7sPllcPGckD86o8sjR35Pa/2MFx3 pBEgDpYr49ZxPi5lqcppCzizSL4R4wr1LPHidQ+BnnR54zC/xdnPBY66b1PBDg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N7BJJ2xg2zr2X; Thu, 10 Nov 2022 06:09:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AA69qxE078669; Thu, 10 Nov 2022 06:09:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AA69qxD078668; Thu, 10 Nov 2022 06:09:52 GMT (envelope-from git) Date: Thu, 10 Nov 2022 06:09:52 GMT Message-Id: <202211100609.2AA69qxD078668@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: d96d13cfa523 - stable/12 - intro.3: Document 'libstdthreads' (the ISO C11 '' library). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: d96d13cfa5232e13143f510c931bac2c152a5e54 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=d96d13cfa5232e13143f510c931bac2c152a5e54 commit d96d13cfa5232e13143f510c931bac2c152a5e54 Author: Gordon Bergling AuthorDate: 2022-11-07 10:34:00 +0000 Commit: Gordon Bergling CommitDate: 2022-11-10 06:09:32 +0000 intro.3: Document 'libstdthreads' (the ISO C11 '' library). It's still relatively uncommon to see C11 '' 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 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(-) diff --git a/share/man/man3/intro.3 b/share/man/man3/intro.3 index d6dff3ab3782..aeb546ef4cad 100644 --- a/share/man/man3/intro.3 +++ b/share/man/man3/intro.3 @@ -28,7 +28,7 @@ .\" @(#)intro.3 8.1 (Berkeley) 6/5/93 .\" $FreeBSD$ .\" -.Dd December 18, 2021 +.Dd November 7, 2022 .Dt INTRO 3 .Os .Sh NAME @@ -231,6 +231,13 @@ See The POSIX threads library. See .Xr pthread 3 . +.It Em libstdthreads +.Pq Fl l Ns Ar stdthreads +The ISO C11 standard +.In threads.h +library. +See +.Xr thrd_create 3 . .It Em libsysdecode .Pq Fl l Ns Ar sysdecode The system argument decoding library.