Acquire the lock by spinning without backoff until it is free.

Synopsis

Declared in <bsls_spinlock.h>

void
lockWithoutBackoff();

Description

Spin (repeat a loop continuously without using the system to pause or reschedule the thread) until this object is unlocked, then atomically acquire the lock. The spinning does not perform a backoff.

Created with MrDocs