Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions reference/sem/functions/sem-get.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,15 @@
otherwise PHP will be unable to access the semaphore.
</simpara>
</warning>
<warning>
<simpara>
If <parameter>auto_release</parameter> is enabled, the acquisitions held by a
<classname>SysvSemaphore</classname> object are also released as soon as the
object is freed, for example when the variable holding it is unset,
overwritten or goes out of scope, not only on request shutdown. Keep a
reference to the object for as long as the semaphore needs to stay acquired.
</simpara>
</warning>
</refsect1>

<refsect1 role="seealso">
Expand Down
Loading