Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 5 of 5) sorted by relevance

/PHP-8.1/ext/sysvsem/tests/
H A Dnowait.phpt15 // Get semaphore for parent
22 echo "P: got semaphore.\n";
24 // Get semaphore for child
120 P: got semaphore.
121 P: acquired semaphore.
122 P: acquired semaphore.
126 C: releasing semaphore.
127 P: releasing semaphore.
129 C: releasing semaphore.
130 C: removing semaphore.
[all …]
H A Dsysv.phpt2 General semaphore and shared memory test
13 // Get semaphore
16 echo "Fail to get semaphore";
19 echo "Got semaphore.\n";
21 // Accuire semaphore
23 echo "Fail to acquire semaphore.\n";
27 echo "Success acquire semaphore.\n";
70 // Release semaphore
84 // Remove semaphore
94 Got semaphore.
[all …]
/PHP-8.1/ext/sysvsem/
H A Dsysvsem.stub.php15 function sem_acquire(SysvSemaphore $semaphore, bool $non_blocking = false): bool {} argument
17 function sem_release(SysvSemaphore $semaphore): bool {} argument
19 function sem_remove(SysvSemaphore $semaphore): bool {} argument
H A Dconfig.m42 [whether to enable System V semaphore support],
4 [Enable System V semaphore support])])
H A Dsysvsem_arginfo.h12 ZEND_ARG_OBJ_INFO(0, semaphore, SysvSemaphore, 0)
17 ZEND_ARG_OBJ_INFO(0, semaphore, SysvSemaphore, 0)

Completed in 6 milliseconds