mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
19 lines
423 B
PHP
19 lines
423 B
PHP
<?php
|
|
|
|
/** @generate-function-entries */
|
|
|
|
final class SysvSemaphore
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @todo use bool for $auto_release
|
|
*/
|
|
function sem_get(int $key, int $max_acquire = 1, int $perm = 0666, int $auto_release = 1): SysvSemaphore|false {}
|
|
|
|
function sem_acquire(SysvSemaphore $semaphore, bool $nowait = false): bool {}
|
|
|
|
function sem_release(SysvSemaphore $semaphore): bool {}
|
|
|
|
function sem_remove(SysvSemaphore $semaphore): bool {}
|