Mutex::unlockRelease Mutex Warnung
The Mutex class has been removed in pthreads v3. Beschreibung
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. Parameter-Liste
RückgabewerteA boolean indication of success. Beispiele
Beispiel #1 Mutex Locking and Unlocking
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: bool(true) bool(true) |