From nobody Mon Nov 07 10:34:55 2022 X-Original-To: dev-commits-src-main@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 4N5SKW4pZKz4gcXs; Mon, 7 Nov 2022 10:34:55 +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 4N5SKW450Wz3DKK; Mon, 7 Nov 2022 10:34:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667817295; 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=YUxDvNJ+9HBsDUmPLYrM0Iox9Wf1JR/d/8Dakkjrj54=; b=QMLwsohBTrmKo2SRkR97JJHeZjiedNzv1FcZLQJC5X5L88AN8en6h92UiT1ByJD79KY9Ta VFlKC09SzPmmoXKBZQHFTd4eRF88pinBX28mZ5nNpWhRkZWr5ClqHocYPKrDR4m7jNU5BB H5g9x7imsFKSVXYv3Lm/VYA+jFBQNp1YmEgl7JA+ZEhaTGaHWVqF+XbN1G9SC4OO1BEH0Y XLsWiCbxn5/gE3auulFJQ4IABIgb3hX0jvn3R2E6OkXc/nR2GIXOFzEvS+8AfLM0SQ4mQe /mRkh4pEU5/aRlWclf8TBvB/DEoywqGv9xIG2w7douMVB+vvvE8md2ZEzpiavw== 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 4N5SKW3631zyBq; Mon, 7 Nov 2022 10:34:55 +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 2A7AYt7m024111; Mon, 7 Nov 2022 10:34:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2A7AYtVL024110; Mon, 7 Nov 2022 10:34:55 GMT (envelope-from git) Date: Mon, 7 Nov 2022 10:34:55 GMT Message-Id: <202211071034.2A7AYtVL024110@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 8a220816c722 - main - intro.3: Document 'libstdthreads' (the ISO C11 '' library). List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 8a220816c72261efce304568498279fdda6b57cb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667817295; 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=YUxDvNJ+9HBsDUmPLYrM0Iox9Wf1JR/d/8Dakkjrj54=; b=O4Sy7eZCV5YKG5ICHnaP7yAwOpCjfN/OORUPjnhrrVTfEwNhCF1UEjSAppr+ACTF6XLW6Y +S1ZxOZGI1OgC68G1XV7U0UeK/h90P6d7G5/FMyuOB4MJhQdHhVB/RiVQaG+s2WL2ulMSA izfjhpemkEDrY70f86Yzq3zMOn5lfq4Zzpr/VEIgMzGKSU8Kh0Hd1rxO6pu+e6u5g/jSlF txZh0vDnR6/mZnxxPV+Jb17BJAfKyXZ2ZqhL8OxVbcqOEqgXaPIF6EPbAxAr/pPajprYDE i7sFAB3GxfZ3dGB5o7ydgfmag88pMTkTaunZokK0NiL3nnc+iLerqOGVzt9MZw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667817295; a=rsa-sha256; cv=none; b=xgXpTRvuOfRLaHjJf/VBR1o0bKztsy6tgXsm91qMQalteif4JmbCn7A0vcQJw4+Ea7G3w2 XksSc7RB/slRbCFPASRZ8nVwxPpXpIL9EkFyQh4PsnBMDwFs8CEw69J/zGAJ6EUmIGBUDP s58nODgjMf2hdtTqelL+555tSBWVHSbshv0wgbuS+wryi8mCu6AEY3Knb49yGYGDwJTN/j UPSntiknhoGi7Qci8eBZuw90Ux5g5nQywdahKMtvYjYMXzg/jKnagyqMkHkVfD7XgCS1pI hwOCR6AOjGGF4Llo1KdtGeuLZHdxTN6skB0HwItqHn/KDM6QcgSCyRMpXZalIg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8a220816c72261efce304568498279fdda6b57cb commit 8a220816c72261efce304568498279fdda6b57cb Author: Gordon Bergling AuthorDate: 2022-11-07 10:34:00 +0000 Commit: Gordon Bergling CommitDate: 2022-11-07 10:34:00 +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 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D37284 --- 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.