Skip to main content

Fence

Trait Fence 

Source
pub trait Fence {
    // Required method
    fn sync(self);
}
Expand description

A synchronization primitive that blocks until the device has finished processing all commands submitted before the fence was created.

Required Methods§

Source

fn sync(self)

Block the current thread until the signals this fence.

Implementors§