|
|
@ -58,9 +58,8 @@ local_runqueue_list_get_next()
|
|
|
|
done:
|
|
|
|
done:
|
|
|
|
return sandbox;
|
|
|
|
return sandbox;
|
|
|
|
sandbox_allocate_err:
|
|
|
|
sandbox_allocate_err:
|
|
|
|
fprintf(stderr,
|
|
|
|
debuglog("local_runqueue_list_get_next failed to allocate sandbox, returning request to global request "
|
|
|
|
"local_runqueue_list_get_next failed to allocate sandbox, returning request to global request "
|
|
|
|
"scheduler\n");
|
|
|
|
"scheduler\n");
|
|
|
|
|
|
|
|
global_request_scheduler_add(sandbox_request);
|
|
|
|
global_request_scheduler_add(sandbox_request);
|
|
|
|
err:
|
|
|
|
err:
|
|
|
|
sandbox = NULL;
|
|
|
|
sandbox = NULL;
|
|
|
@ -90,7 +89,8 @@ local_runqueue_list_append(struct sandbox *sandbox_to_append)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Conditionally checks to see if current sandbox should be preempted FIFO doesn't preempt, so just return.
|
|
|
|
* Conditionally checks to see if current sandbox should be preempted.
|
|
|
|
|
|
|
|
* FIFO doesn't preempt, so just return.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
void
|
|
|
|
void
|
|
|
|
local_runqueue_list_preempt(ucontext_t *user_context)
|
|
|
|
local_runqueue_list_preempt(ucontext_t *user_context)
|
|
|
|