#pragma once #if defined(_WIN32) #include #elif defined(GEKKO) #include #else #include #endif namespace Tesses::Framework::Threading { class Mutex { #if defined(_WIN32) HANDLE mtx; #elif defined(GEKKO) mutex_t mtx; #else mtx_t mtx; #endif public: Mutex(); void Lock(); void Unlock(); bool TryLock(); ~Mutex(); }; }