From dfae108e6aff6e77eb05def50d99fb5c6d2c28c8 Mon Sep 17 00:00:00 2001 From: px4dev Date: Wed, 3 Oct 2012 23:13:20 -0700 Subject: 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. --- apps/systemlib/systemlib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/systemlib/systemlib.c') diff --git a/apps/systemlib/systemlib.c b/apps/systemlib/systemlib.c index 3d46a17a8..94a5283f0 100644 --- a/apps/systemlib/systemlib.c +++ b/apps/systemlib/systemlib.c @@ -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, ¶m); - /* XXX do any other private task accounting here */ + /* XXX do any other private task accounting here before the task starts */ } - sched_unlock(); return pid; -- cgit v1.2.3