signal — Asynchronous System Events — PyMOTW 3
Originally posted
· 1 min read
Signals are an operating system feature that provide a means of notifying a program of an event, and having it handled asynchronously. They can be generated by the system itself, or sent from one process to another. Since signals interrupt the regular flow of the program, it is possible that some operations (especially I/O) may produce errors if a signal is received in the middle.
This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.