@wh2leung: "For wait <period>, I have set up an alarm that goes off after <period>.
The problem being if the alarm goes off when select() is scanning the
FD_SET, select is interruped with the following error:
Error on select(): Interrupted system call
Ideally, when the alarm goes off, I would still want select() to continue
scanning the FD_SET and the "main loop" to continue ( select() is inside
the main loop ).  Any suggestions to achieving achieving this is
appreicated."
    @sfdunsco: "<quote>
The need for alarm seems to arise from the fact that select() doesn't tell
you how long it waited - if a message came in or something while select()
was blocked, there's no way to know how much of <interval> has been used
up without using some external mechanism.  (At least as far as I've been
able to see.)"
{'source': 'USENET', 'other_information': '{"reply_count": 1, "forum_name": "uw.cs.cs454.20140226.mbox"}', 'file': 'data/output/usenet-uw.cs.parquet'}