OELockSpinlock

class OELockSpinlock

This class can be used to ensure an OESpinlock object is properly released when this object falls out of scope.

See also

Constructors

OELockSpinlock(OESpinlock &spinlock)

This constructor calls OESpinlock.Acquire. The destructor of this class will be responsible for calling OESpinlock.Release.