If your program is driven by external events, or uses signals for synchronization, then when it has nothing to do it should probably wait until a signal arrives.
Go to the first, previous, next, last section, table of contents.