> a traditionally hairy problem in UNIX programming: how to wait for two different types of events (signals and file descriptors) at the same time.
I'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't work towards a clean solution in the mean time.