Mutex::unlockRelease Mutex Warning
The Mutex class has been removed in pthreads v3. 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) |