aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2025-01-24 21:53:22 +0100
committerGitHub <noreply@github.com>2025-01-24 21:53:22 +0100
commit82351168b3e11bb02dba2529aa875dd001d03ff2 (patch)
tree52aa07b3a7f8ce3625cf32037c501587948f4120 /docs/src
parentbc19beadbd9fdc0f0ddbff30daa3ef1851a5ab47 (diff)
downloadlibuv-82351168b3e11bb02dba2529aa875dd001d03ff2.tar.gz
libuv-82351168b3e11bb02dba2529aa875dd001d03ff2.zip
win: lazy-load [GS]etThreadDescription symbols (#4679)
Said symbols are not by default available on Windows Server 2016 but libuv can still use them when api-ms-win-core-processthreads-l1-1-3.dll is present. Fixes: https://github.com/libuv/libuv/issues/4677
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/threading.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/src/threading.rst b/docs/src/threading.rst
index f40cf0a3..2edf3a89 100644
--- a/docs/src/threading.rst
+++ b/docs/src/threading.rst
@@ -146,6 +146,8 @@ Threads
a thread name can be: Linux, IBM i (16), macOS (64), Windows (32767), and NetBSD (32), etc. `uv_thread_setname()`
will truncate it in case `name` is larger than the limit of the platform.
+ Not supported on Windows Server 2016, returns `UV_ENOSYS`.
+
.. versionadded:: 1.50.0
.. c:function:: int uv_thread_getname(uv_thread_t* tid, char* name, size_t* size)
@@ -155,6 +157,8 @@ Threads
The buffer should be large enough to hold the name of the thread plus the trailing NUL, or it will be truncated to fit
with the trailing NUL.
+ Not supported on Windows Server 2016, returns `UV_ENOSYS`.
+
.. versionadded:: 1.50.0
.. c:function:: int uv_thread_setpriority(uv_thread_t tid, int priority)