]> git.tdb.fi Git - r2c2.git/commit
Improve ArduControl task scheduling
authorMikko Rasa <tdb@tdb.fi>
Thu, 19 Feb 2015 09:18:02 +0000 (11:18 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 19 Feb 2015 13:27:43 +0000 (15:27 +0200)
commit23e1a988da2efae47e39d93babe7e37b1c0ca554
tree7d4cf9d02fdeb963894a9009b6e29bdfa89b3b50
parentaa48746158b19ad795a3cc656c4dfe17044baf54
Improve ArduControl task scheduling

The new scheduler can handle multiple tasks with the same priority, so
other things won't get blocked by the priority command queue for too
long.  It also handles sleeping at the scheduler rather than individual
tasks.
source/libr2c2/arducontrol.cpp
source/libr2c2/arducontrol.h