A managed mutex. More...
Instance Methods | |
(instancetype) | - init |
Creates a new instance of an AtomicMutex. More... | |
(bool) | - isLocked |
Gets if the mutex is locked or not. More... | |
(void) | - release |
Releases the lock. More... | |
(bool) | - tryLock |
Tries to obtain a lock with this thread. More... | |
Class Methods | |
(FMLiveSwitchAtomicMutex *) | + atomicMutex |
Creates a new instance of an AtomicMutex. More... | |
A managed mutex.
+ (FMLiveSwitchAtomicMutex*) atomicMutex |
Creates a new instance of an AtomicMutex.
- (instancetype) init |
Creates a new instance of an AtomicMutex.
- (bool) isLocked |
Gets if the mutex is locked or not.
- (void) release |
Releases the lock.
- (bool) tryLock |
Tries to obtain a lock with this thread.