a mutual exclusion lock.
Private
locks
if the lock no used, lock and return undefined. If the lock is already in use, return a Promise wait for mutex is available.
try locks.
if successful locked return true, else return false
unlocks
if is not locked on entry to Unlock, throw MutexException
MutexException
Generated using TypeDoc
a mutual exclusion lock.