summaryrefslogtreecommitdiff
path: root/rts/RaiseAsync.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-12-13 20:12:46 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-12-13 20:12:46 +0000
commit5308c0423b613e0d6a22996e2052731f0a371475 (patch)
treefe3b8001bcdddde04a5efcf391bb1f26dc4b046e /rts/RaiseAsync.c
parent5734b876e3ac2faea7d59457956051cc32af191d (diff)
downloadhaskell-5308c0423b613e0d6a22996e2052731f0a371475.tar.gz
If ACTIVITY_INACTIVE is set, wait for GC before resetting it
I don't think this fixes any real bugs, but there's a small possibility that when the RTS is woken up for an idle-time GC, the IO manager thread might be pre-empted which would prevent the idle GC from happening; this change ensures that the idle GC happens anyway.
Diffstat (limited to 'rts/RaiseAsync.c')
0 files changed, 0 insertions, 0 deletions