task management doc

This commit is contained in:
Robin Müller 2020-02-29 01:21:36 +01:00
parent c93ee5c6cd
commit 6d6c78b255

View File

@ -9,6 +9,12 @@
#include "portmacro.h"
#include "task.h"
/**
* TODO: This stuff is hardware and architecture and mission dependant...
* Some FreeRTOS implementations might be able to determine their own task context for example.
* If not ISRs are used, or task preemption is enabled, some of this stuff might
* not be necessary anyway. Maybe there is a better solution?
*/
void requestContextSwitchFromTask() {
vTaskDelay(0);
}