Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
79957d77
Commit
79957d77
authored
Apr 01, 2010
by
Simon Marlow
Browse files
Fix warnings (allow pushOnRunQueue() to not be inlined)
parent
f24b4066
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/Schedule.h
View file @
79957d77
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment