Expand description
Pure-Rust thread lifecycle (spawn_thread, ThreadHandle), per-thread errno,
and 64-key thread-local storage with exit destructors.
Structs§
Constants§
- CLONE_
CHILD_ CLEARTID - CLONE_
CHILD_ SETTID - CLONE_
FILES - CLONE_
FS - CLONE_
PARENT_ SETTID - CLONE_
SETTLS - CLONE_
SIGHAND - CLONE_
SYSVSEM - CLONE_
THREAD - CLONE_
VM - DEFAULT_
STACK_ BYTES - MAX_
TLS_ KEYS - MIN_
STACK_ BYTES
Functions§
- current_
thread_ id - errno_
cell - run_
current_ thread_ tls_ destructors - spawn_
thread ⚠ - Spawns a new thread executing
entry(arg)on a guarded stack. - tls_get
- tls_
key_ create - tls_
key_ delete - tls_set