Commit 79957d77 authored by Simon Marlow's avatar Simon Marlow

Fix warnings (allow pushOnRunQueue() to not be inlined)

parent f24b4066
......@@ -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.
*/
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment