1
0
forked from fsfw/fsfw

Makes linux realtime optional

Adds new config variable FSFW_USE_REALTIME_FOR_LINUX
This commit is contained in:
2021-04-20 13:01:24 +02:00
parent 6d0bc26624
commit 98add88d14
3 changed files with 11 additions and 4 deletions

View File

@ -19,7 +19,7 @@ PeriodicTask::PeriodicTask(const char *name, TaskPriority setPriority,
void (*setDeadlineMissedFunc)()) :
started(false), taskName(name), period(setPeriod),
deadlineMissedFunc(setDeadlineMissedFunc) {
// It is propably possible to set task priorities by using the native
// It is probably possible to set task priorities by using the native
// task handles for Windows / Linux
mainThread = std::thread(&PeriodicTask::taskEntryPoint, this, this);
#if defined(WIN32)