Note that whether "select" gets restarted after signals (say, SIGALRM) is implementation-dependent.