Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Wiki Markup
*asynchronous-safe* \[[GNU Pth|AA. C References#GNU Pth]\]
A function is "async-safe" if it can called safely and without side effects from within a signal handler context. That is, it must be able to be interrupted at any point and run linearly out of sequence without causing an inconsistent state. Very few functions are asynchronous-safe. TheSome listasynchronous-safe belowoperations listsare async-safelisted operationsbelow. If a function does anything not on the list, it is probably not asynchronous-safe:

...