A managed mutex. More...
Public Member Functions | |
| AtomicMutex () | |
| Creates a new instance of an AtomicMutex. More... | |
| boolean | getIsLocked () |
| Gets if the mutex is locked or not. More... | |
| void | release () |
| Releases the lock. More... | |
| boolean | tryLock () |
| Tries to obtain a lock with this thread. More... | |
A managed mutex.
| fm.liveswitch.AtomicMutex.AtomicMutex | ( | ) |
Creates a new instance of an AtomicMutex.
| boolean fm.liveswitch.AtomicMutex.getIsLocked | ( | ) |
Gets if the mutex is locked or not.
| void fm.liveswitch.AtomicMutex.release | ( | ) |
Releases the lock.
| boolean fm.liveswitch.AtomicMutex.tryLock | ( | ) |
Tries to obtain a lock with this thread.