[][src]Module loom::thread

Mock implementation of std::thread.

Structs

AccessError

An error returned by LocalKey::try_with.

Builder

Thread factory, which can be used in order to configure the properties of a new thread.

JoinHandle

Mock implementation of std::thread::JoinHandle.

LocalKey

Mock implementation of std::thread::LocalKey.

Functions

panicking

Determines whether the current thread is unwinding because of panic.

spawn

Mock implementation of std::thread::spawn.

yield_now

Yield the thread.