SyncSemaphore::lockDecreases the count of the semaphore or waits Beschreibung
public bool SyncSemaphore::lock
([ integer
$wait = -1
] )Decreases the count of a SyncSemaphore object or waits until the semaphore becomes non-zero. Parameter-Liste
RückgabewerteA boolean of TRUE if the lock operation was successful, FALSE otherwise. BeispieleBeispiel #1 SyncSemaphore::lock example
<?phpSiehe auch
|