firmware/src/concurrency/OSThread.h
2020-10-08 13:32:34 +08:00

18 lines
236 B
C++

#pragma once
#include "FreeRtosThread.h"
#include "PosixThread.h"
namespace concurrency
{
#ifdef HAS_FREE_RTOS
typedef FreeRtosThread OSThread;
#endif
#ifdef __unix__
typedef PosixThread OSThread;
#endif
} // namespace concurrency