zpMutex
in package
Zenphoto Mutex class
Tags
Table of Contents
Properties
- $ignoreUserAbort : mixed
- $lock : mixed
- $locked : mixed
- $mutex : mixed
Methods
- __construct() : mixed
- __destruct() : mixed
- lock() : mixed
- unlock() : mixed
- Unlock the mutex.
- which_lock() : mixed
Properties
$ignoreUserAbort
private
mixed
$ignoreUserAbort
= \NULL
$lock
private
mixed
$lock
= \NULL
$locked
private
mixed
$locked
= \NULL
$mutex
private
mixed
$mutex
= \NULL
Methods
__construct()
public
__construct([mixed $lock = 'zP' ][, mixed $concurrent = NULL ]) : mixed
Parameters
- $lock : mixed = 'zP'
- $concurrent : mixed = NULL
__destruct()
public
__destruct() : mixed
lock()
public
lock() : mixed
unlock()
Unlock the mutex.
public
unlock() : mixed
which_lock()
private
static which_lock(mixed $lock, mixed $concurrent) : mixed
Parameters
- $lock : mixed
- $concurrent : mixed