Skip to main content

Module thread

Module thread 

Source

Constants§

NAME_MAXLEN
OS thread-name cap, matching CPython _thread._NAME_MAXLEN.

Functions§

current_thread_id
current_thread_name
The current thread name as bytes, without the terminator.
native_id
set_current_thread_name
set_current_thread_name_bytes
Set the OS thread name from filesystem-encoded bytes (NUL-truncated).