public bool SyncMutex::unlock    ([ bool $all = FALSE  ] )

SyncMutex::unlockUnlocks the mutex

all

Specifies whether or not to set the internal counter to zero and therefore release the lock.