Staging: this is not the live site, pydocs.org.
_thread
This module provides primitive operations to write multi-threaded programs.
The 'threading' module provides a more convenient interface.
© Python Software Foundation. PSF License Version 2 · Official docs ↗
Symbols in _thread
e
- error
- Unspecified run-time error.
- exit
- This is synonymous to ``raise SystemExit''.
g
- get_ident
- Return a non-zero integer that uniquely identifies the current thread amongst other threads that exist simultaneously.
- get_native_id
- Return a non-negative integer identifying the thread as reported by the OS (kernel).
i
- interrupt_main
- Simulate the arrival of the given signal in the main thread, where the corresponding signal handler will be executed.
l
- LockType
- A lock object is a synchronization primitive.
s
- stack_size
- Return the thread stack size used when creating new threads.
t
- TIMEOUT_MAX
- The maximum value allowed for the timeout parameter of Lock.acquire.