Expand description
Offloaded tools for creation
Structs§
- Lifetimed helper through which threads can be spawned.
- A thread identified not only by its PID (which can be reused whenever the thread has quit) but also by a pointer to its thread control block. This gives a TrackedThread a better get_status() method that reliably reports Stopped even when the PID is reused.
Functions§
- create 🔒 ⚠Internal helper that does all the casting but relies on the caller to establish appropriate lifetimes.
- Create a context for starting threads that take shorter than ’static references.
- Create a thread with a statically allocated stack