projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tweak the build-dependencies rule, and add comments for it
[ghc-hetmet.git]
/
rts
/
Threads.c
diff --git
a/rts/Threads.c
b/rts/Threads.c
index
799cf90
..
8eaa951
100644
(file)
--- a/
rts/Threads.c
+++ b/
rts/Threads.c
@@
-107,7
+107,7
@@
createThread(Capability *cap, nat size)
RELEASE_LOCK(&sched_mutex);
// ToDo: report the stack size in the event?
RELEASE_LOCK(&sched_mutex);
// ToDo: report the stack size in the event?
- traceSchedEvent (cap, EVENT_CREATE_THREAD, tso, tso->stack_size);
+ traceEventCreateThread(cap, tso);
return tso;
}
return tso;
}
@@
-254,7
+254,7
@@
unblockOne_ (Capability *cap, StgTSO *tso,
cap->context_switch = 1;
#endif
cap->context_switch = 1;
#endif
- traceSchedEvent (cap, EVENT_THREAD_WAKEUP, tso, tso->cap->no);
+ traceEventThreadWakeup (cap, tso, tso->cap->no);
return next;
}
return next;
}