Modules

Structs

Opaque handle for keeping a resource alive while handle exists

Functions

Returns native platform thread identifier. Unlike Rust ThreadId, this does not guarantee that the identifier will not be reused by future threads. However Rust ThreadId can not be queried during thread destruction when the thread_local has already been destroyed (and will panic in that situation).
Spawn the future with current thread run loop being the executor.