If you like this essay and/or curse having to deal with EINTR and haven't heard about "Worse is Better" and the PCLSR ("PC loser") issue, you might want to check out section 2.1, The Rise of Worse is Better,
http://www.dreamsongs.com/WIB.html, Wikipedia for a brief overview of PCLSR:
http://en.wikipedia.org/wiki/PCLSRing and Alan Bawden's great paper PCLSRing: Keeping Process State Modular:
http://www.hack.org/mc/texts/pclsr.txt