summaryrefslogtreecommitdiff
path: root/src/platform/mutex.c
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 16:14:07 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 16:14:07 +1000
commit55bb30899899d1e6f34e85d87909d5108d085adb (patch)
treeffc06fb5677b6f9d5289187267a7cd517efe2e3e /src/platform/mutex.c
parentc72440f89cfabe0c7752f9105cfc244a79016965 (diff)
defining api for mutex/thread
Diffstat (limited to 'src/platform/mutex.c')
-rw-r--r--src/platform/mutex.c9
1 files changed, 9 insertions, 0 deletions
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