Add asserts to check fail_sched_loop() only once

This commit is contained in:
Ben Blum
2012-07-13 19:13:11 -04:00
parent 1c0b457853
commit cd38377b1b
4 changed files with 15 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
rust_kernel::rust_kernel(rust_env *env) :
_region(env, true),
_log(NULL),
max_task_id(1),
max_task_id(INIT_TASK_ID-1), // sync_add_and_fetch increments first
max_port_id(1),
rval(0),
max_sched_id(1),