Struct rs_lockfree::spin_lock::SpinLock[][src]

pub struct SpinLock { /* fields omitted */ }

User mode SpinLock

Methods

impl SpinLock
[src]

Keep trying to lock until success.

Keep trying to lock until success, then return SpinLockGuard.

Unlock if is locked, else panic.

Return true if locked.

Return true if lock successfully.

Trait Implementations

impl Default for SpinLock
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for SpinLock

impl Sync for SpinLock