diff options
author | Simon Marlow <marlowsd@gmail.com> | 2012-01-16 09:49:24 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2012-01-16 13:27:57 +0000 |
commit | fac8ecbbafde17dd92439c41747223c43e9d2b80 (patch) | |
tree | c3b5a0da07c8e738ead81983a7ac42bb29d715e5 /compiler | |
parent | a9e17cc2fdadf34b6f2bdd1e8889259327d31578 (diff) | |
download | haskell-fac8ecbbafde17dd92439c41747223c43e9d2b80.tar.gz |
Fix bug causing polling instead of blocking in the non-threaded RTS (#5773)
This was a regression introduced accidentally in
6b1098511aaabd2c9503ee7be6da1944466f9cb4. We were previously passing
a large time value to select() to simulate blocking, and this broke
due to a change from unsigned to signed arithmetic. I've refactored
it to be less fragile now - we just pass NULL as the timeval parameter
to select(), which is the correct way to do blocking.
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions