Files
firmware/src/concurrency/Thread.h

18 lines
232 B
C
Raw Normal View History

#pragma once
2020-09-04 15:03:22 -07:00
#include "FreeRtosThread.h"
#include "PosixThread.h"
2020-09-04 15:03:22 -07:00
namespace concurrency
{
2020-07-06 21:53:10 +02:00
2020-09-04 15:03:22 -07:00
#ifdef HAS_FREE_RTOS
typedef FreeRtosThread Thread;
#endif
2020-09-04 15:03:22 -07:00
#ifdef __unix__
typedef PosixThread Thread;
#endif
2020-07-06 21:53:10 +02:00
} // namespace concurrency