Signal behavior when masked

To understand this better, let's take a fictional example: say we trap a signal n, and the execution time for our signal handler for signal n is 55 ms (milliseconds). Also, visualize a scenario in which, via a timer (for a while at least), signal n is delivered to the process continually at 10-ms intervals. Now let's examine what would happen in the default case and the case in which we use the SA_NODEFER flag.

Get Hands-On System Programming with Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.