projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f9f8667
)
threadStackOverflow should be using allocateLocal
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 12 Oct 2007 10:04:05 +0000
(10:04 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 12 Oct 2007 10:04:05 +0000
(10:04 +0000)
rts/Schedule.c
patch
|
blob
|
history
diff --git
a/rts/Schedule.c
b/rts/Schedule.c
index
375520d
..
cb2f7f3
100644
(file)
--- a/
rts/Schedule.c
+++ b/
rts/Schedule.c
@@
-2837,7
+2837,7
@@
threadStackOverflow(Capability *cap, StgTSO *tso)
"increasing stack size from %ld words to %d.",
(long)tso->stack_size, new_stack_size);
- dest = (StgTSO *)allocate(new_tso_size);
+ dest = (StgTSO *)allocateLocal(cap,new_tso_size);
TICK_ALLOC_TSO(new_stack_size,0);
/* copy the TSO block and the old stack into the new area */