|
|
@ -182,9 +182,18 @@ runtime_start_runtime_worker_threads()
|
|
|
|
debuglog("Sandboxing environment ready!\n");
|
|
|
|
debuglog("Sandboxing environment ready!\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
|
|
|
|
runtime_cleanup()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if (runtime_sandbox_perf_log != NULL) fflush(runtime_sandbox_perf_log);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exit(EXIT_SUCCESS);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void
|
|
|
|
void
|
|
|
|
runtime_configure()
|
|
|
|
runtime_configure()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
signal(SIGTERM, runtime_cleanup);
|
|
|
|
/* Scheduler Policy */
|
|
|
|
/* Scheduler Policy */
|
|
|
|
char *scheduler_policy = getenv("SLEDGE_SCHEDULER");
|
|
|
|
char *scheduler_policy = getenv("SLEDGE_SCHEDULER");
|
|
|
|
if (scheduler_policy == NULL) scheduler_policy = "FIFO";
|
|
|
|
if (scheduler_policy == NULL) scheduler_policy = "FIFO";
|
|
|
|