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:
69d5d32
)
Control.Exception.unblock wasn't unblocking exceptions
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 10 Aug 2006 13:23:07 +0000
(13:23 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 10 Aug 2006 13:23:07 +0000
(13:23 +0000)
rts/Exception.cmm
patch
|
blob
|
history
diff --git
a/rts/Exception.cmm
b/rts/Exception.cmm
index
8ca397b
..
0c1b664
100644
(file)
--- a/
rts/Exception.cmm
+++ b/
rts/Exception.cmm
@@
-123,6
+123,9
@@
unblockAsyncExceptionszh_fast
foreign "C" awakenBlockedExceptionQueue(MyCapability() "ptr",
CurrentTSO "ptr") [R1];
+ StgTSO_flags(CurrentTSO) = StgTSO_flags(CurrentTSO) &
+ ~(TSO_BLOCKEX::I32|TSO_INTERRUPTIBLE::I32);
+
/* avoid growing the stack unnecessarily */
if (Sp(0) == stg_unblockAsyncExceptionszh_ret_info) {
Sp_adj(1);