From 55bb30899899d1e6f34e85d87909d5108d085adb Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 27 Apr 2024 16:14:07 +1000 Subject: defining api for mutex/thread --- src/platform/mutex.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/platform/mutex.c (limited to 'src/platform/mutex.c') diff --git a/src/platform/mutex.c b/src/platform/mutex.c new file mode 100644 index 0000000..9735483 --- /dev/null +++ b/src/platform/mutex.c @@ -0,0 +1,9 @@ +#include "mutex.h" + +#if defined(CEL_PLATFORM_LINUX) || defined(CEL_PLATFORM_MAC) +// TODO: implement in terms of pthreads +#endif + +#if defined (CEL_PLATFORM_WINDOWS) +// TODO: implement using win32 api +#endif \ No newline at end of file -- cgit v1.2.3-70-g09d2