Comment Re:Really now (Score 1) 705
Unfortunately (or fortunately if someone can correct me on this) not everything in Unix is a file. In particular, semaphores are not files. So you can't wait on a semaphore and a set of file descriptors with a select. :(