projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e81e075
)
add a MAYBE_GC() in killThread#, fixes throwto003(threaded2) looping
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 5 May 2010 11:47:46 +0000
(11:47 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 5 May 2010 11:47:46 +0000
(11:47 +0000)
rts/Exception.cmm
patch
|
blob
|
history
diff --git
a/rts/Exception.cmm
b/rts/Exception.cmm
index
55c79ce
..
af84692
100644
(file)
--- a/
rts/Exception.cmm
+++ b/
rts/Exception.cmm
@@
-218,6
+218,8
@@
stg_killThreadzh
/* Needs 3 words because throwToSingleThreaded uses some stack */
STK_CHK_GEN( WDS(3), R1_PTR & R2_PTR, stg_killThreadzh);
+ /* We call allocate in throwTo(), so better check for GC */
+ MAYBE_GC(R1_PTR & R2_PTR, stg_killThreadzh);
/*
* We might have killed ourselves. In which case, better be *very*