[][src]Module rustc_rayon_core::tlv

Allows access to the Rayon's thread local value which is preserved when moving jobs across threads

Functions

get

Returns the current thread-local value

set

Sets the current thread-local value

with

Sets the current thread-local value to value inside the closure. The old value is restored when the closure ends