From nobody Thu Nov 10 06:06:30 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 4N7BDQ73zyz4f4xj; Thu, 10 Nov 2022 06:06:30 +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 4N7BDQ6NZyz4J6V; Thu, 10 Nov 2022 06:06:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668060390; 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=+DcXvOzGHoC1WFdsfZScY4mbEnUXtRJxDxGI9ONL/+Q=; b=XwRNhfW3gdSPkMYDBeYtqDfh82Onbtpz88uf3dgq/LxXUrBEwTfVtQ8HQYcw4Qnvye7H/k 0/JTQgv4Ceeh4ALTIhhPGJkHPS0CIlWQpvO1+OtOEjEQjQGn2000tW5NrSIsdVmWmdml9N kNJn/hi0JWABi882IeezLimq2cKcP4h4+qJxe5fQIw2QKCqHLAMyItDdepy6HykYsaBh4B Wawr825WTyoUzrvCNI+ZjAkFrLCo/53h7J7EPSqM7kpO4JNgIH8sClPT/fBlkMB7JU4P3S stFNKbb1L/P5hH8fJIS5PSGsOLvbm9/u7cwp5CkM+E661xAMkzZM/jUjgp7AKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668060390; 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=+DcXvOzGHoC1WFdsfZScY4mbEnUXtRJxDxGI9ONL/+Q=; b=a9k0cfeclz6TiuoJA7TcZvDZJqFqoVlPaQKD2nlOvxLRJD0vwZX8AlNyVLzw/gmP1z8hew +zlGUwuQNLx3QpnzWAvNFAfJkZHpU/XP8DvoKPnG2Sq6yq/xkKTBl+wcj8MlREPIV8j+SE PzlVUEG4xAPrB6VbAQArZDH/pMtAs+XvAN95tehMgLJce2HMgvxQ0ONqaMfgBEHsU1Ntis s8wLasd2RsO+bKU6DvYB6Gmeu7KnOO+0eX/Y/0gwWf+S4/yj+B09d/QZ9mXFdp0xYch5Pi rhtOigeSEdTwReYSpzSes1l/Kb2oTnOQ5JhtlGMY2N8V3E9d4zAzz2FPOhyFgg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668060390; a=rsa-sha256; cv=none; b=nyOGCfBIkctDQkaY47lf5bAnxLx2MJxgc6593TktkqS6cAD7WV4k5U591GvenTD4kkiL7d oS2jPxV/4aOxH57TyZyMlH34ncEuBnLkOH4UyOsCood413xaMXKLJNuc2dyx3qH+l03qAs CwgZiSYfeS6xNL/mF5QmfqcyI5LEC66zOmn6ntShsJNyzB0HcnZUIWmOyXHcWW4jTdBPMw KLPsDmNYuEzbrvYWNQScTrcaDKGBeorXipJwvXAX7uCeQ1JcdsEJCXx9FjtKj3dI7TLB2M 8sZJw8Ld1KbE1TubPUps9Gqu557Uqme8nszAfJRqzNTbs+Ts+8ntWnR4t8vfLQ== 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 4N7BDQ5VpjzqjV; Thu, 10 Nov 2022 06:06:30 +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 2AA66U5k077932; Thu, 10 Nov 2022 06:06:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AA66UIr077931; Thu, 10 Nov 2022 06:06:30 GMT (envelope-from git) Date: Thu, 10 Nov 2022 06:06:30 GMT Message-Id: <202211100606.2AA66UIr077931@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: 1bffa20445ff - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 1bffa20445ff28f82fbf770b5cdda06b0727c119 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=1bffa20445ff28f82fbf770b5cdda06b0727c119 commit 1bffa20445ff28f82fbf770b5cdda06b0727c119 Author: Gordon Bergling AuthorDate: 2022-11-07 10:34:00 +0000 Commit: Gordon Bergling CommitDate: 2022-11-10 06:06:02 +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.