Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added reference to [IEEE Std 1003.1-2013]

...

CON37-EX1: Platforms that provide defined behavior when multithreaded programs use custom signal handlers are exempt from this rule. This exception includes POSIX, for exampleFor example, this exception is specified by POSIX Section XSH 2.9.1 Thread-Safety [IEEE Std 1003.1-2013].

Risk Assessment

Mixing signals and threads causes undefined behavior.

...