Method | Description | |
---|---|---|
__construct ( $dir, $name, $timeout = 60 ) | ||
__destruct ( ) | ||
lock ( ) | Locks the mutex. The lock is automatically released after $timeout. | |
release ( ) : boolean | Releases the lock. Returns false on failure. |
Method | Description | |
---|---|---|
getLockName ( ) |
public lock ( ) |