Module id

Source
Expand description

Persistent storage for the thread ID.

We store the thread ID so that it never gets destroyed during the lifetime of a thread, either using #[thread_local] or multiple local_pointer!s.

Constantsยง

CHEAP ๐Ÿ”’

Staticsยง

ID ๐Ÿ”’

Functionsยง

get ๐Ÿ”’
get_or_init ๐Ÿ”’
set ๐Ÿ”’