Arduino-Scheduler
Portable Collaborative Multi-Tasking Scheduler for Arduino
|
#include <setjmp.h>
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Classes | |
class | SchedulerClass |
struct | SchedulerClass::task_t |
Macros | |
#define | await(cond) while (!(cond)) Scheduler.yield() |
Variables | |
SchedulerClass | Scheduler |
Copyright (C) 2015-2017, Mikael Patel
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
Definition in file Scheduler.h.
#define await | ( | cond | ) | while (!(cond)) Scheduler.yield() |
Syntactic sugar for scheduler based busy-wait for condition; yield until condition is valid. May require volatile condition variable(s).
[in] | cond | condition to await. |
Definition at line 162 of file Scheduler.h.
SchedulerClass Scheduler |
Scheduler single-ton.
Definition at line 53 of file Scheduler.cpp.