projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix #3439: -debug implies -ticky, and -ticky code links with any RTS
[ghc-hetmet.git]
/
rts
/
Schedule.h
diff --git
a/rts/Schedule.h
b/rts/Schedule.h
index
c83b6fd
..
2dd4acd
100644
(file)
--- a/
rts/Schedule.h
+++ b/
rts/Schedule.h
@@
-12,9
+12,9
@@
#include "rts/OSThreads.h"
#include "Capability.h"
#include "rts/OSThreads.h"
#include "Capability.h"
-#include "eventlog/EventLog.h"
+#include "Trace.h"
-#pragma GCC visibility push(hidden)
+BEGIN_RTS_PRIVATE
/* initScheduler(), exitScheduler()
* Called from STG : no
/* initScheduler(), exitScheduler()
* Called from STG : no
@@
-136,7
+136,7
@@
appendToRunQueue (Capability *cap, StgTSO *tso)
setTSOLink(cap, cap->run_queue_tl, tso);
}
cap->run_queue_tl = tso;
setTSOLink(cap, cap->run_queue_tl, tso);
}
cap->run_queue_tl = tso;
- postEvent (cap, EVENT_THREAD_RUNNABLE, tso->id, 0);
+ traceSchedEvent (cap, EVENT_THREAD_RUNNABLE, tso, 0);
}
/* Push a thread on the beginning of the run queue.
}
/* Push a thread on the beginning of the run queue.
@@
-241,7
+241,7
@@
emptyThreadQueues(Capability *cap)
#endif /* !IN_STG_CODE */
#endif /* !IN_STG_CODE */
-#pragma GCC visibility pop
+END_RTS_PRIVATE
#endif /* SCHEDULE_H */
#endif /* SCHEDULE_H */