From 71f74ff53591eced7bb6de76ba0d86046057ca6c Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Wed, 5 May 2021 09:37:10 -0400 Subject: [PATCH] refactore: reorder local runqueue --- runtime/include/local_runqueue.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/runtime/include/local_runqueue.h b/runtime/include/local_runqueue.h index f0714dc..abbf840 100644 --- a/runtime/include/local_runqueue.h +++ b/runtime/include/local_runqueue.h @@ -19,11 +19,9 @@ struct local_runqueue_config { local_runqueue_preempt_fn_t preempt_fn; }; -void local_runqueue_initialize(struct local_runqueue_config *config); - -/* This is currently only used by worker_thread_wakeup_sandbox */ void local_runqueue_add(struct sandbox *); void local_runqueue_delete(struct sandbox *); bool local_runqueue_is_empty(); struct sandbox *local_runqueue_get_next(); +void local_runqueue_initialize(struct local_runqueue_config *config); void local_runqueue_preempt(ucontext_t *);