mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Warn users of the buggy behaviour of sem_get() with non-PHP semaphores.
Fixes doc bug #66270 (sem_get() expects an already created pack of semaphores to have 3 of them). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332354 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
03083e6a66
commit
483d4d578f
1 changed files with 13 additions and 0 deletions
|
@ -101,6 +101,19 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<warning>
|
||||
<simpara>
|
||||
When using <function>sem_get</function> to access a semaphore created
|
||||
outside PHP, note that the semaphore must have been created as a set of 3
|
||||
semaphores (for example, by specifying 3 as the <literal>nsems</literal>
|
||||
parameter when calling the C <literal>semget()</literal> function),
|
||||
otherwise PHP will be unable to access the semaphore.
|
||||
</simpara>
|
||||
</warning>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue