Move the context_switch flag into the Capability
authorSimon Marlow <marlowsd@gmail.com>
Fri, 19 Sep 2008 10:26:01 +0000 (10:26 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 19 Sep 2008 10:26:01 +0000 (10:26 +0000)
commit8f52645bd99ee3e636a34826c0cbfc5939920da1
treea1664a93c679eed383facbbcba26334ddfe398c4
parent09bb1eb4d782fd67c36145fd230bcb201d1548ba
Move the context_switch flag into the Capability
Fixes a long-standing bug that could in some cases cause sub-optimal
scheduling behaviour.
13 files changed:
includes/Cmm.h
includes/StgMiscClosures.h
includes/mkDerivedConstants.c
rts/Capability.c
rts/Capability.h
rts/HeapStackCheck.cmm
rts/Interpreter.c
rts/PrimOps.cmm
rts/Schedule.c
rts/Schedule.h
rts/Threads.c
rts/Timer.c
rts/posix/Signals.c