summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-11-09 20:02:30 (GMT)
committerGitHub <noreply@github.com>2023-11-09 20:02:30 (GMT)
commit0802fd6c8ee0cacb3ab555dd86e235a5dfab7618 (patch)
treead3f9df8c4fe7cfc83246b7d3040d2876d0553a5 /Doc
parent0c61d028be93c52726972d8d96393cc0cedb1086 (diff)
downloadcpython-0802fd6c8ee0cacb3ab555dd86e235a5dfab7618.zip
cpython-0802fd6c8ee0cacb3ab555dd86e235a5dfab7618.tar.gz
cpython-0802fd6c8ee0cacb3ab555dd86e235a5dfab7618.tar.bz2
gh-81925: Implement native thread ids for kFreeBSD (#111761)
--------- Co-authored-by: Antoine Pitrou <antoine@python.org>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/_thread.rst5
-rw-r--r--Doc/library/threading.rst5
-rw-r--r--Doc/tools/extensions/pyspecific.py4
3 files changed, 10 insertions, 4 deletions
diff --git a/Doc/library/_thread.rst b/Doc/library/_thread.rst
index d7c61c3..297f50a 100644
--- a/Doc/library/_thread.rst
+++ b/Doc/library/_thread.rst
@@ -120,10 +120,13 @@ This module defines the following constants and functions:
Its value may be used to uniquely identify this particular thread system-wide
(until the thread terminates, after which the value may be recycled by the OS).
- .. availability:: Windows, FreeBSD, Linux, macOS, OpenBSD, NetBSD, AIX, DragonFlyBSD.
+ .. availability:: Windows, FreeBSD, Linux, macOS, OpenBSD, NetBSD, AIX, DragonFlyBSD, GNU/kFreeBSD.
.. versionadded:: 3.8
+ .. versionchanged:: 3.13
+ Added support for GNU/kFreeBSD.
+
.. function:: stack_size([size])
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 23d8cd1..b85b7f0 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -127,10 +127,13 @@ This module defines the following functions:
Its value may be used to uniquely identify this particular thread system-wide
(until the thread terminates, after which the value may be recycled by the OS).
- .. availability:: Windows, FreeBSD, Linux, macOS, OpenBSD, NetBSD, AIX, DragonFlyBSD.
+ .. availability:: Windows, FreeBSD, Linux, macOS, OpenBSD, NetBSD, AIX, DragonFlyBSD, GNU/kFreeBSD.
.. versionadded:: 3.8
+ .. versionchanged:: 3.13
+ Added support for GNU/kFreeBSD.
+
.. function:: enumerate()
diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py
index 11d954a..31c2544 100644
--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -127,8 +127,8 @@ class Availability(SphinxDirective):
# known platform, libc, and threading implementations
known_platforms = frozenset({
"AIX", "Android", "BSD", "DragonFlyBSD", "Emscripten", "FreeBSD",
- "Linux", "NetBSD", "OpenBSD", "POSIX", "Solaris", "Unix", "VxWorks",
- "WASI", "Windows", "macOS",
+ "GNU/kFreeBSD", "Linux", "NetBSD", "OpenBSD", "POSIX", "Solaris",
+ "Unix", "VxWorks", "WASI", "Windows", "macOS",
# libc
"BSD libc", "glibc", "musl",
# POSIX platforms with pthreads