From 6d6c78b255407dc08979dbfbf927b9e4dd54db44 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 29 Feb 2020 01:21:36 +0100 Subject: [PATCH] task management doc --- osal/FreeRTOS/TaskManagement.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/osal/FreeRTOS/TaskManagement.cpp b/osal/FreeRTOS/TaskManagement.cpp index e9781769..f94c0fde 100644 --- a/osal/FreeRTOS/TaskManagement.cpp +++ b/osal/FreeRTOS/TaskManagement.cpp @@ -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); }