|
|
@ -116,11 +116,7 @@ current_sandbox_start(void)
|
|
|
|
sandbox->request_arrival_timestamp, true, pre_func_output, output_length);
|
|
|
|
sandbox->request_arrival_timestamp, true, pre_func_output, output_length);
|
|
|
|
/* Add to the Global Sandbox Request Scheduler */
|
|
|
|
/* Add to the Global Sandbox Request Scheduler */
|
|
|
|
global_request_scheduler_add(sandbox_request);
|
|
|
|
global_request_scheduler_add(sandbox_request);
|
|
|
|
sandbox_remove_from_epoll(sandbox);
|
|
|
|
|
|
|
|
sandbox_set_as_returned(sandbox, SANDBOX_RUNNING);
|
|
|
|
sandbox_set_as_returned(sandbox, SANDBOX_RUNNING);
|
|
|
|
scheduler_yield();
|
|
|
|
|
|
|
|
assert(0);
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
/* Retrieve the result, construct the HTTP response, and send to client */
|
|
|
|
/* Retrieve the result, construct the HTTP response, and send to client */
|
|
|
|
if (sandbox_send_response(sandbox) < 0) { // if send blocked, remove the sandbox from the local runqueue
|
|
|
|
if (sandbox_send_response(sandbox) < 0) { // if send blocked, remove the sandbox from the local runqueue
|
|
|
|