std
::
thread
::
parker
::
Parker
Fields
state
Methods
new
park
park_timeout
unpark
Struct
std
::
thread
::
parker
::
Parker
Re-export from
std::thread::parker::futex::Parker
struct
Parker
{ ... }
source
Fields
state:
Atomic
<
i32
>
Methods
impl
Parker
{ ... }
fn
new
() ->
Parker
source
fn
park
(self: &
mut
Parker
)
source
fn
park_timeout
(self: &
mut
Parker
, timeout:
Duration
)
source
fn
unpark
(self: &
mut
Parker
)
source