SyncMutex::lockWaits for an exclusive lock Beschreibung
public bool SyncMutex::lock
([ integer
$wait = -1
] )Obtains an exclusive lock on a SyncMutex object. If the lock is already acquired, then this increments an internal counter. Parameter-Liste
RückgabewerteA boolean of TRUE if the lock was obtained, FALSE otherwise. BeispieleBeispiel #1 SyncMutex::lock example
<?phpSiehe auch
|