chore: use debuglog

main
Sean McBride 4 years ago
parent 2ceede804a
commit 41f63ebafc

@ -58,8 +58,7 @@ local_runqueue_list_get_next()
done:
return sandbox;
sandbox_allocate_err:
fprintf(stderr,
"local_runqueue_list_get_next failed to allocate sandbox, returning request to global request "
debuglog("local_runqueue_list_get_next failed to allocate sandbox, returning request to global request "
"scheduler\n");
global_request_scheduler_add(sandbox_request);
err:
@ -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
local_runqueue_list_preempt(ucontext_t *user_context)

@ -102,7 +102,7 @@ local_runqueue_minheap_get_next()
done:
return sandbox;
sandbox_allocate_err:
fprintf(stderr, "local_runqueue_minheap_get_next failed to allocating sandbox. Readding request to global "
debuglog("local_runqueue_minheap_get_next failed to allocating sandbox. Readding request to global "
"request scheduler\n");
global_request_scheduler_add(sandbox_request);
err:
@ -178,8 +178,7 @@ done:
return;
err_sandbox_allocate:
assert(sandbox_request);
fprintf(stderr,
"local_runqueue_minheap_preempt failed to allocate sandbox, returning request to global request "
debuglog("local_runqueue_minheap_preempt failed to allocate sandbox, returning request to global request "
"scheduler\n");
global_request_scheduler_add(sandbox_request);
err:

Loading…
Cancel
Save