diff options
author | px4dev <px4@purgatory.org> | 2012-10-03 23:13:20 -0700 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2012-10-03 23:13:20 -0700 |
commit | dfae108e6aff6e77eb05def50d99fb5c6d2c28c8 (patch) | |
tree | 57478848a3c87b66978eef5ae986882aed93b598 /apps/systemlib/systemlib.c | |
parent | 216aa20ac278c55931d618bb2ebf8b7bc1a3614b (diff) | |
download | px4-firmware-dfae108e6aff6e77eb05def50d99fb5c6d2c28c8.tar.gz px4-firmware-dfae108e6aff6e77eb05def50d99fb5c6d2c28c8.tar.bz2 px4-firmware-dfae108e6aff6e77eb05def50d99fb5c6d2c28c8.zip |
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.
Diffstat (limited to 'apps/systemlib/systemlib.c')
-rw-r--r-- | apps/systemlib/systemlib.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |