php-src/ext/sysvsem/sysvsem.stub.php
2021-07-20 12:28:35 +02:00

20 lines
444 B
PHP

<?php
/** @generate-class-entries */
/**
* @strict-properties
* @not-serializable
*/
final class SysvSemaphore
{
}
function sem_get(int $key, int $max_acquire = 1, int $permissions = 0666, bool $auto_release = true): SysvSemaphore|false {}
function sem_acquire(SysvSemaphore $semaphore, bool $non_blocking = false): bool {}
function sem_release(SysvSemaphore $semaphore): bool {}
function sem_remove(SysvSemaphore $semaphore): bool {}