Skip to content
akouz edited this page May 23, 2015 · 1 revision

COOS is a simple cooperative operating system.

So far it provides just one service: delay. When a task wishes to wait, COOS_DELAY(milliseconds) should be invoked. Please note, COOS_DELAY cannot be invoked in a function, it must be in the task's main loop.

If task does not need delay, it should invoke COOS_DELAY(0) at least once. That allows other tasks to be processed too.

Clone this wiki locally