migrate fully to freeRTOS
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
#ifndef SPIT_HANDLER_H
|
||||
#define SPIT_HANDLER_H
|
||||
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
#include <thread>
|
||||
#include "Mutex.hpp"
|
||||
#include "Semaphore.hpp"
|
||||
#include "Task.hpp"
|
||||
#include <list>
|
||||
|
||||
using namespace std;
|
||||
@@ -32,9 +32,9 @@ public:
|
||||
|
||||
private:
|
||||
static list<Runnable*> s_Runnables;
|
||||
static mutex s_MutexLock;
|
||||
static condition_variable s_ConditionVariable;
|
||||
static thread s_HandlerThread;
|
||||
static fos::Mutex s_MutexLock;
|
||||
static fos::Semaphore s_ConditionVariable;
|
||||
static fos::Task* s_HandlerThread;
|
||||
|
||||
static bool s_WakeUp;
|
||||
static bool s_Close;
|
||||
|
||||
Reference in New Issue
Block a user