task management doc
This commit is contained in:
parent
c93ee5c6cd
commit
6d6c78b255
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user