Skip to content

Commit f30cf01

Browse files
author
Vladimir Kotal
committed
fix article
1 parent a2dd801 commit f30cf01

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

signals.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,10 @@
431431
problem for its asynchronous signal safety. It can lead to corrupt data,
432432
deadlocks, etc. As the set of functions safe to use in a handler is limited,
433433
one way to use the signals is only to set a global variable in the handler and
434-
test it later, for example in a loop that processes some events. As a function
435-
waiting for an event is typically interruptible by a signal (see above), setting
436-
the global variable and testing it later does not experience any real delay.
434+
test it later, for example in a loop that processes some events. As the
435+
function waiting for an event is typically interruptible by a signal (see
436+
above), setting the global variable and testing it later does not experience any
437+
real delay.
437438
Example: \example{signals/event-loop.c}.
438439
\item There is also a simplified signal facility \funnm{signal}(). We recommend
439440
to use \funnm{sigaction}() only. Behavior of \funnm{signal}() is not specified

0 commit comments

Comments
 (0)