Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2025 18:03:09 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 29b1c09ab477 - stable/14 - thr_new.2: document THR_C_RUNTIME
Message-ID:  <202506121803.55CI39b4067361@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=29b1c09ab4770970f7f6497213c120e7c7a55c1f

commit 29b1c09ab4770970f7f6497213c120e7c7a55c1f
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-05-30 18:31:57 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506121803.55CI39b4067361>