diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2025-01-24 21:53:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-24 21:53:22 +0100 |
commit | 82351168b3e11bb02dba2529aa875dd001d03ff2 (patch) | |
tree | 52aa07b3a7f8ce3625cf32037c501587948f4120 /docs/src | |
parent | bc19beadbd9fdc0f0ddbff30daa3ef1851a5ab47 (diff) | |
download | libuv-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.rst | 4 |
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) |