summaryrefslogtreecommitdiff
path: root/ext/sysvsem/sysvsem.stub.php
blob: 40cb9b5d3eeb226bc7679380329161be996c7eec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

/** @generate-class-entries */

/** @strict-properties */
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 {}