Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this chapter, we considered a range of factors that affect the operation and design of signal handlers.
Because signals are not queued, a signal handler must sometimes be coded to deal with the possibility that multiple events of a particular type have occurred, even though only one signal was delivered. The issue of reentrancy affects how we can update global variables and limits the set of functions that we can safely call from a signal handler.