| Author: | Michał Olech <[email protected]> |
|---|---|
| License: | MIT |
The libtasking library adds support for multitasking - scheduling and synchronization of tasks. Currently Cortex-M4 architecture is supported.
In order for the library to work, the following functions should be set as exception handlers respectively:
- SysTick_Handler() - SysTick
- PendSV_Handler() - PendSV
- SVC_Handler() - SVCall
Also all device-specific interrupts should have their priority set to greater or equal 2.
Additionally functions specified in include/arch.h file should be
implemented.
include/task.h- Contains the main library interface (task management).
include/task_conf.h- Contains available library configuration flags with their default values.
include/mutex.h- Contains mutex interface.
include/semaphore.h- Contains semaphore interface.
sched/- Contains available scheduler implementations.
Please refer to libtasking-testsuite for an example configuration of the
library, compilation flags and examples.