Fixed typo in const in readme

This commit is contained in:
Chris 2018-04-15 20:55:30 +02:00
parent c9c4a8aa78
commit 20b6f1d42c

View File

@ -5,13 +5,14 @@ This is a one-size-fits-all IPC library to facilitate communication between
threads and processes.
For complete examples, see the `examples` directory in the source tree.
## Signals
Asynchronous signals are automatically enabled if supported. Otherwise, the
`pcntl_signal_dispatch()` method must be frequently called from your main loop.
You can test for this using the `ASYNC_SIGNALS` constant:
You can test for this using the `SIGNALS_ASYNC` constant:
if (!ASYNC_SIGNALS) {
if (!SIGNALS_ASYNC) {
pcntl_signal_dispatch();
}