Plays from YouTube. Watch on YouTube
How can a signal interrupt ordinary program execution without a direct function call?
Meet Unix Signals and Asynchronous Events: an original animated lesson in C and Unix systems programming.
We start by separating signal generation from delivery, then examine default dispositions and sigaction handlers.
From there, we explore signal masks, pending signals, async-signal-safe functions, EINTR, SIGCHLD and check-then-pause races.
The big idea: A signal is a minimal notification, not a substitute for safe synchronization or data transfer.
C and Unix explained visually, one concept at a time.