&gt; a traditionally hairy problem in UNIX programming: how to wait for two different types of events (signals and file descriptors) at the same time.<p>I&#x27;ve always thought one of the weak points of POSIX was that the event sources were not unified. Imho, is a pity the relevant committee didn&#x27;t work towards a clean solution in the mean time.