Skip to content

Commit 70926fd

Browse files
committed
Merge branch '6.4' into 7.0
* 6.4: Mention PCNTL extension installation
2 parents 0573d2d + 9831a44 commit 70926fd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

components/console/events.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ method::
205205
.. tip::
206206

207207
All the available signals (``SIGINT``, ``SIGQUIT``, etc.) are defined as
208-
`constants of the PCNTL PHP extension`_.
208+
`constants of the PCNTL PHP extension`_. The extension has to be installed
209+
for these constants to be available.
209210

210211
If you use the Console component inside a Symfony application, commands can
211212
handle signals themselves. To do so, implement the

components/lock.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,11 @@ Lock will be released automatically as soon as one process finishes::
260260
}
261261
// ...
262262

263+
.. note::
264+
265+
In order for the above example to work, the `PCNTL`_ extension must be
266+
installed.
267+
263268
To disable this behavior, set the ``autoRelease`` argument of
264269
``LockFactory::createLock()`` to ``false``. That will make the lock acquired
265270
for 3600 seconds or until ``Lock::release()`` is called::
@@ -1042,3 +1047,4 @@ are still running.
10421047
.. _`ZooKeeper`: https://zookeeper.apache.org/
10431048
.. _`readers-writer lock`: https://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock
10441049
.. _`priority policy`: https://en.wikipedia.org/wiki/Readers%E2%80%93writer_lock#Priority_policies
1050+
.. _`PCNTL`: https://www.php.net/manual/book.pcntl.php

0 commit comments

Comments
 (0)