Skip to content

Commit

Permalink
Fix warnings (allow pushOnRunQueue() to not be inlined)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmar committed Apr 1, 2010
1 parent f24b406 commit 79957d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rts/Schedule.h
Expand Up @@ -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);
Expand Down

0 comments on commit 79957d7

Please sign in to comment.