wakeUpSleepingThreads: fix off by one
authorSimon Marlow <simonmar@microsoft.com>
Wed, 18 Jul 2007 09:27:54 +0000 (09:27 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 18 Jul 2007 09:27:54 +0000 (09:27 +0000)
commit843211e0a54b051ecec5d5fbbf6afa27dfa5fd81
tree76c2c7a5af863dfb59dd536dc967b38cc567ad83
parent48fb2b521898998a17873ad6cf30610aa5ab6db3
wakeUpSleepingThreads: fix off by one
The symptom of this bug is after the time of a threadDelay has
expired, the RTS does a whole slew of extra select() calls.
This should help with #1523, but it's not the whole story.
rts/posix/Select.c