Better abstraction over run queues.
authorEdward Z. Yang <ezyang@mit.edu>
Tue, 15 Jan 2013 23:04:08 +0000 (15:04 -0800)
committerEdward Z. Yang <ezyang@mit.edu>
Wed, 16 Jan 2013 21:49:01 +0000 (13:49 -0800)
commit0aae1e173b4731a60648960aa03910ccb16fe0e0
tree4d9e2e7d57f86dd5e4fafc2879fd060388aa50ef
parent8f731f2ba83cd62da78a3ef8f1560902948f97a4
Better abstraction over run queues.

This adds some new functions: peekRunQueue, promoteInRunQueue,
singletonRunQueue and truncateRunQueue which help abstract away
manual linked list manipulation, making it easier to swap in
a new queue implementation.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
rts/Capability.c
rts/Messages.c
rts/Schedule.c
rts/Schedule.h