#include <spinlock.h>
Include dependency graph for spinlock.cpp:
Functions | |
Zygoma::SpinLockMutex::SpinLockMutex () | |
Constructs a spin lock mutex object. | |
Zygoma::SpinLockMutex::~SpinLockMutex () | |
Tears down a spin lock mutex object. |
|
Constructs a spin lock mutex object. A spin lock mutex is always initially marked as available. |
|
Tears down a spin lock mutex object. There is no functionality required of a spin lock destructor. There should be no way to destroy the object while it is held because all holds must be through a SpinLock object, which would always be destroyed first. |