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:
f24b406
)
Fix warnings (allow pushOnRunQueue() to not be inlined)
author
Simon Marlow
<marlowsd@gmail.com>
Thu, 1 Apr 2010 11:45:59 +0000
(11:45 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Thu, 1 Apr 2010 11:45:59 +0000
(11:45 +0000)
rts/Schedule.h
patch
|
blob
|
history
diff --git
a/rts/Schedule.h
b/rts/Schedule.h
index
76138b6
..
2412285
100644
(file)
--- a/
rts/Schedule.h
+++ b/
rts/Schedule.h
@@
-137,7
+137,10
@@
appendToRunQueue (Capability *cap, StgTSO *tso)
/* Push a thread on the beginning of the run queue.
* ASSUMES: cap->running_task is the current task.
*/
/* Push a thread on the beginning of the run queue.
* ASSUMES: cap->running_task is the current task.
*/
-INLINE_HEADER void
+EXTERN_INLINE void
+pushOnRunQueue (Capability *cap, StgTSO *tso);
+
+EXTERN_INLINE void
pushOnRunQueue (Capability *cap, StgTSO *tso)
{
setTSOLink(cap, tso, cap->run_queue_hd);
pushOnRunQueue (Capability *cap, StgTSO *tso)
{
setTSOLink(cap, tso, cap->run_queue_hd);