blob: cb64eec3a5dedde3ce927d85b47db3085f04fa86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* @todo use bool for $auto_release
* @return resource|false
*/
function sem_get(int $key, int $max_acquire = 1, int $perm = 0666, int $auto_release = 1) {}
/**
* @param resource $sem_identifier
*/
function sem_acquire($sem_identifier, bool $nowait = false): bool {}
/**
* @param resource $sem_identifier
*/
function sem_release($sem_identifier): bool {}
/**
* @param resource $sem_identifier
*/
function sem_remove($sem_identifier): bool {}
|