libuv/docs
Santiago Gimeno 61c966cf0b
src: add uv_thread_set/getname() methods (#4599)
`uv_thread_setname()` sets the name of the current thread. Different
platforms define different limits on the max number of characters
a thread name can be: Linux, IBMi (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.

`uv_thread_getname()` gets the name of the thread specified by `tid`.
The thread name is copied into the buffer pointed to by `name`. The
`size` parameter specifies the size of the buffer pointed to by `name`.
The buffer should be large enough to hold the name of the thread plus
the trailing NUL, or it will be truncated to fit.
2024-11-27 12:52:18 +01:00
..
code doc: fix tty example segfault (#4322) 2024-02-28 12:32:24 +01:00
src src: add uv_thread_set/getname() methods (#4599) 2024-11-27 12:52:18 +01:00
make.bat doc: add API documentation 2014-09-11 09:38:35 +02:00
Makefile doc: fix generation the first time livehtml runs 2016-05-26 09:48:28 +02:00
requirements.txt doc: switch to Furo, a more modern Sphinx theme (#4094) 2023-08-14 15:27:18 -04:00