mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-29 02:51:17 +00:00
18 lines
232 B
C++
18 lines
232 B
C++
#pragma once
|
|
|
|
#include "FreeRtosThread.h"
|
|
#include "PosixThread.h"
|
|
|
|
namespace concurrency
|
|
{
|
|
|
|
#ifdef HAS_FREE_RTOS
|
|
typedef FreeRtosThread Thread;
|
|
#endif
|
|
|
|
#ifdef __unix__
|
|
typedef PosixThread Thread;
|
|
#endif
|
|
|
|
} // namespace concurrency
|