diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-04-16 14:19:02 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-04-16 14:19:02 +0000 |
commit | 94363dd5c2c443db08e5d3885b582247822c43b3 (patch) | |
tree | 603a5982f5ced31663c19ee2e0e4038d7fa33b66 /includes | |
parent | 5aa70fe578ca7841d06947a3e05dac33c11a918f (diff) | |
download | haskell-94363dd5c2c443db08e5d3885b582247822c43b3.tar.gz |
MERGE: Fix a few uses of the wrong return convention for the scheduler
We changed the convention a while ago so that BaseReg is returned to
the scheduler in R1, because BaseReg may change during the run of a
thread, e.g. during a foreign call. A few places got missed,
mostly for very rare events.
Should fix concprog001, although I'm not able to reliably reproduce
the failure.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/StgMiscClosures.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/StgMiscClosures.h b/includes/StgMiscClosures.h index 72a7b55319..82671287de 100644 --- a/includes/StgMiscClosures.h +++ b/includes/StgMiscClosures.h @@ -484,6 +484,7 @@ RTS_FUN(stg_returnToStackTop); RTS_FUN(stg_returnToSched); RTS_FUN(stg_returnToSchedNotPaused); RTS_FUN(stg_returnToSchedButFirst); +RTS_FUN(stg_threadFinished); RTS_FUN(stg_init_finish); RTS_FUN(stg_init); |