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:
70a2431
)
fix bug in migrateThread()
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 1 Apr 2010 10:58:40 +0000
(10:58 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 1 Apr 2010 10:58:40 +0000
(10:58 +0000)
rts/Threads.c
patch
|
blob
|
history
diff --git
a/rts/Threads.c
b/rts/Threads.c
index
e8a835b
..
f07b36a
100644
(file)
--- a/
rts/Threads.c
+++ b/
rts/Threads.c
@@
-291,7
+291,7
@@
migrateThread (Capability *from, StgTSO *tso, Capability *to)
traceEventMigrateThread (from, tso, to->no);
// ThreadMigrating tells the target cap that it needs to be added to
// the run queue when it receives the MSG_TRY_WAKEUP.
- tso->what_next = ThreadMigrating;
+ tso->why_blocked = ThreadMigrating;
tso->cap = to;
tryWakeupThread(from, tso);
}