summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2012-01-16 09:49:24 +0000
committerSimon Marlow <marlowsd@gmail.com>2012-01-16 13:27:57 +0000
commitfac8ecbbafde17dd92439c41747223c43e9d2b80 (patch)
treec3b5a0da07c8e738ead81983a7ac42bb29d715e5 /compiler
parenta9e17cc2fdadf34b6f2bdd1e8889259327d31578 (diff)
downloadhaskell-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