Commit 39cba209 authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

rts: mark 'removeFromRunQueue' as static

Noticed by uselex.rb:
    removeFromRunQueue: [R]: exported from:

Signed-off-by: default avatarSergei Trofimovich <>
parent 8abc7e76
......@@ -557,7 +557,7 @@ run_thread:
* Run queue operations
* -------------------------------------------------------------------------- */
static void
removeFromRunQueue (Capability *cap, StgTSO *tso)
if (tso->block_info.prev == END_TSO_QUEUE) {
......@@ -187,8 +187,7 @@ peekRunQueue (Capability *cap)
return cap->run_queue_hd;
void removeFromRunQueue (Capability *cap, StgTSO *tso);
extern void promoteInRunQueue (Capability *cap, StgTSO *tso);
void promoteInRunQueue (Capability *cap, StgTSO *tso);
/* Add a thread to the end of the blocked queue.
Supports Markdown
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