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:
e97f298
)
fix comment
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 31 May 2011 13:05:37 +0000
(14:05 +0100)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 1 Jun 2011 09:56:05 +0000
(10:56 +0100)
rts/ThreadPaused.c
patch
|
blob
|
history
diff --git
a/rts/ThreadPaused.c
b/rts/ThreadPaused.c
index
02b4f58
..
a35a962
100644
(file)
--- a/
rts/ThreadPaused.c
+++ b/
rts/ThreadPaused.c
@@
-245,13
+245,15
@@
threadPaused(Capability *cap, StgTSO *tso)
// --------------------------------------------------------
// c->indirectee = other_tso;
// c->header.info = EAGER_BH
// --------------------------------------------------------
// c->indirectee = other_tso;
// c->header.info = EAGER_BH
- // threadPaused()
- // c->indirectee = other_tso;
+ // threadPaused():
+ // c->header.info = WHITEHOLE
+ // c->indirectee = other_tso
+ // c->indirectee = this_tso;
// c->header.info = EAGER_BH
// c->header.info = EAGER_BH
- // c->header.info = BLACKHOLE
+ // c->header.info = BLACKHOLE
// threadPaused()
// *** c->header.info is now BLACKHOLE,
// threadPaused()
// *** c->header.info is now BLACKHOLE,
- // c->indirectee points to this TSO
+ // c->indirectee points to this_tso
//
// So in this case do *not* suspend the work of the
// current thread, because the current thread will become
//
// So in this case do *not* suspend the work of the
// current thread, because the current thread will become