Go back to the FIFO scheduler for now, as we don't have time to shake out the RR scheduler changeover just yet.

Make the "default" scheduler a centralized definition so that changes are easier in future.
This commit is contained in:
px4dev
2012-10-03 23:13:20 -07:00
parent 216aa20ac2
commit dfae108e6a
15 changed files with 22 additions and 16 deletions
+1 -2
View File
@@ -138,9 +138,8 @@ int task_spawn(const char *name, int scheduler, int priority, int stack_size, ma
param.sched_priority = priority;
sched_setscheduler(pid, scheduler, &param);
/* XXX do any other private task accounting here */
/* XXX do any other private task accounting here before the task starts */
}
sched_unlock();
return pid;