2012-03-29 17:21:32 -05:00
|
|
|
#include "rust_sched_launcher.h"
|
|
|
|
#include "rust_scheduler.h"
|
|
|
|
|
|
|
|
const size_t SCHED_STACK_SIZE = 1024*100;
|
|
|
|
|
|
|
|
rust_sched_launcher::rust_sched_launcher(rust_scheduler *sched,
|
|
|
|
rust_srv *srv, int id)
|
|
|
|
: rust_thread(SCHED_STACK_SIZE),
|
|
|
|
kernel(sched->kernel),
|
2012-03-29 18:31:30 -05:00
|
|
|
sched_loop(sched, srv, id) {
|
2012-03-29 17:21:32 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
rust_sched_launcher::run() {
|
2012-03-29 18:31:30 -05:00
|
|
|
sched_loop.start_main_loop();
|
2012-03-29 17:21:32 -05:00
|
|
|
}
|