From nobody Thu Jun 12 18:03:09 2025 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 4bJ9PB3lkHz5y9x0; Thu, 12 Jun 2025 18:03:10 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bJ9P95KvPz4Pp1; Thu, 12 Jun 2025 18:03:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749751389; 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=EJ+ZvTUe4QEO8jDjR/0m9TfmkmYhB5/6wz/jY4pO+MY=; b=hlK4iqVb5fMF2Y1/8rMStiDR3cs2uFq9r4kxg4Y+bSKE/ZgXcU/OQoFfbwXgf9+UdRSMZG 7X8dMfbJD9Wh9L4g5rhnnOuptqTh0sWsJGab+pVcI0LollUPbSO/+/Orspqmyw7HWDDXiD df7XCIpiXPvl5Wi6PKigromOk9sDOwFopetfGdkDpLt0r6fOnuvxzlr7N9RUmnow+jCi+d DQ/v8kjrS4Y7qoO5/w1aCG0g54xioHdlCZgdG9Yq4hiCgtxeHtofaaSYugUsGhn5oobz28 lsk4C5b4k8VhuAJJKaQYAUBy8LzfhDzkAVpM++F7oueSjfxWBUxyKnTpoY2fRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749751389; 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=EJ+ZvTUe4QEO8jDjR/0m9TfmkmYhB5/6wz/jY4pO+MY=; b=Zg/OzU3VCWVP2NXvXeVWxf6sSsqWdSjyqKqmlXQqrzoMPHLJuENHH4c0hDFuwR4wBNbmoH sXtTDbVCzgEIVCWqeHvaqrUTFJppr4+hl+JCqJMFifSKQd7afkNIC1xXJyFuyV29xjZ+SY q4+bXZzzUqhLmyP37XXsp5SO/QuvAIGTKAXHSqTLhCBFQPEvggf3GOY2Iord/gzZeKqJtw SEb4QlMY/KViN4gYWox0K06oQCjh/jt1o6O8K5A6+zjrMscQ46HAhFfMLsq+0soJUzuA/V frIDvmzGpblXV8F4cUi1/b8K5q5cHVCK2tvwIVE05zNV1WO+MAZGckVpybrE7w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749751389; a=rsa-sha256; cv=none; b=RYHlD2FP+hZd+H25QQ4//kTeKb23SLkRHt+LWnsijWc76vdmmtjU0PLj4IkPrpji9U3nAs JGoBCA8jNgBFUbX2EUg0MbqBPTFvQqY3Runuuwz6cTA6/6riDjMQnBixM/k2YlyapvlEPV QC8bzO+jHoxTc8e/0Z/xTiWK0QKM2FFot56ewxka4v60i7kfqYC1l86ZUfaLtbKLqdj3bH 1u6NgKh0bMQYmJiNLL5NwRae3g2V6NJ/fhL/N0DK9gh0Be9UbwVuXpZ6ZiWpnPBTeQl1LL KikNXj7wuSvcEBSZwoJYXjmRbblKXcRXduhZGWwbPNP4IVtUrAVjy306/0qECw== 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 4bJ9P94Y7xz7WY; Thu, 12 Jun 2025 18:03:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 55CI39JQ067364; Thu, 12 Jun 2025 18:03:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 55CI39b4067361; Thu, 12 Jun 2025 18:03:09 GMT (envelope-from git) Date: Thu, 12 Jun 2025 18:03:09 GMT Message-Id: <202506121803.55CI39b4067361@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 29b1c09ab477 - stable/14 - thr_new.2: document THR_C_RUNTIME 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 29b1c09ab4770970f7f6497213c120e7c7a55c1f Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=29b1c09ab4770970f7f6497213c120e7c7a55c1f commit 29b1c09ab4770970f7f6497213c120e7c7a55c1f Author: Konstantin Belousov AuthorDate: 2025-05-30 18:31:57 +0000 Commit: Konstantin Belousov CommitDate: 2025-06-12 18:02:51 +0000 thr_new.2: document THR_C_RUNTIME (cherry picked from commit 6fd3288c39c493c4f252b715e8354e0d27d5ef90) --- lib/libc/sys/thr_new.2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/libc/sys/thr_new.2 b/lib/libc/sys/thr_new.2 index c0bcc8bbc7c2..a04327723c34 100644 --- a/lib/libc/sys/thr_new.2 +++ b/lib/libc/sys/thr_new.2 @@ -133,6 +133,15 @@ The flag is not currently implemented. .It Dv THR_SYSTEM_SCOPE Create the system scope thread. The flag is not currently implemented. +.It Dv THR_C_RUNTIME +Indicate that the new thread is created by the C language runtime. +It has architecture-specific meaning. +.Pp +On amd64, the flag requests that the specified +.Fa tls_base +was loaded into the +.Va %fsbase +register before calling a signal handler. .El .It Va rtp Real-time scheduling priority for the new thread.