Méthode | Description | |
---|---|---|
__construct ( $semaphore ) | Sets the semaphore id. |
Méthode | Description | |
---|---|---|
lock ( ) | ||
unlock ( ) |
$semaphore = sem_get(ftok(__FILE__, "a"));
$mutex = new SemaphoreMutex($semaphore);
public __construct ( $semaphore ) |