Mutex::unlockRelease Mutex Description
final
public
static
boolean
Mutex::unlock
(
long
$mutex
[,
boolean
$destroy
] )Attempts to unlock the Mutex for the caller, optionally destroying the Mutex handle. The calling thread should own the Mutex at the time of the call. Parameters
Return ValuesA boolean indication of success. Examples
Example #1 Mutex Locking and Unlocking
<?php The above example will output: bool(true) bool(true) |