|
|
@ -5,7 +5,7 @@
|
|
|
|
#include "sandbox.h"
|
|
|
|
#include "sandbox.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* Returns pointer back if successful, null otherwise */
|
|
|
|
/* Returns pointer back if successful, null otherwise */
|
|
|
|
typedef struct sandbox *(*local_runqueue_add_fn_t)(struct sandbox *);
|
|
|
|
typedef void (*local_runqueue_add_fn_t)(struct sandbox *);
|
|
|
|
typedef bool (*local_runqueue_is_empty_fn_t)(void);
|
|
|
|
typedef bool (*local_runqueue_is_empty_fn_t)(void);
|
|
|
|
typedef void (*local_runqueue_delete_fn_t)(struct sandbox *sandbox);
|
|
|
|
typedef void (*local_runqueue_delete_fn_t)(struct sandbox *sandbox);
|
|
|
|
typedef struct sandbox *(*local_runqueue_get_next_fn_t)();
|
|
|
|
typedef struct sandbox *(*local_runqueue_get_next_fn_t)();
|
|
|
@ -22,7 +22,7 @@ struct local_runqueue_config {
|
|
|
|
void local_runqueue_initialize(struct local_runqueue_config *config);
|
|
|
|
void local_runqueue_initialize(struct local_runqueue_config *config);
|
|
|
|
|
|
|
|
|
|
|
|
/* This is currently only used by worker_thread_wakeup_sandbox */
|
|
|
|
/* This is currently only used by worker_thread_wakeup_sandbox */
|
|
|
|
struct sandbox *local_runqueue_add(struct sandbox *);
|
|
|
|
void local_runqueue_add(struct sandbox *);
|
|
|
|
void local_runqueue_delete(struct sandbox *);
|
|
|
|
void local_runqueue_delete(struct sandbox *);
|
|
|
|
bool local_runqueue_is_empty();
|
|
|
|
bool local_runqueue_is_empty();
|
|
|
|
struct sandbox *local_runqueue_get_next();
|
|
|
|
struct sandbox *local_runqueue_get_next();
|
|
|
|