rust/src/rt/rust_sched_launcher.cpp

18 lines
486 B
C++
Raw Normal View History

#include "rust_sched_launcher.h"
#include "rust_scheduler.h"
const size_t SCHED_STACK_SIZE = 1024*100;
2012-04-01 22:18:40 -05:00
rust_sched_launcher::rust_sched_launcher(rust_scheduler *sched, int id)
: kernel(sched->kernel),
2012-04-01 22:18:40 -05:00
sched_loop(sched, id),
driver(&sched_loop) {
}
rust_thread_sched_launcher::rust_thread_sched_launcher(rust_scheduler *sched,
2012-04-01 22:18:40 -05:00
int id)
: rust_sched_launcher(sched, id),
rust_thread(SCHED_STACK_SIZE) {
}