Struct pleco_engine::sync::LockLatch
[−]
[src]
pub struct LockLatch { /* fields omitted */ }
A LockLatch
starts as false and eventually becomes true. You can block
until it becomes true.
Methods
impl LockLatch
[src]
pub fn new() -> LockLatch
[src]
pub fn wait(&self)
[src]
Block until latch is set.