File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 415415signal is delivered within a function and the same function is called from the
416416handler, and the function is not ready for that). Minimal set of functions
417417that must be ifdef([[[NOSPELLCHECK]]], [[[\emsl {\emph {async-signal-safe }}]]])
418- is listed in SUSv4 in section
419- \emph { System Interfaces: General Information $ \Rightarrow $ Signal Concepts
420- $ \Rightarrow $ Signal Actions (2.4.3) }. Systems can extend the list, of course.
421- Whether a function is safe to use in a signal handler or not should be
422- documented in its manual page.
418+ is listed in SUSv4 in section \emph { System Interfaces: General Information
419+ $ \Rightarrow $ Signal Concepts $ \Rightarrow $ Signal Actions (2.4.3) }. Systems
420+ can extend the list, of course. Whether a function is safe to use in a signal
421+ handler or not should be documented in its manual page. On Linux, see also
422+ the \texttt { signal-safety(7) } manual page.
423423\item Using static data and/or locking in a function would generally be a
424424problem for its asynchronous signal safety. It can lead to corrupt data,
425425deadlocks, etc. As the set of functions safe to use in a handler is limited,
You can’t perform that action at this time.
0 commit comments