]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/unix/thread_platform.h
Move most platform-specific code into overlay directories
[libs/core.git] / source / core / unix / thread_platform.h
diff --git a/source/core/unix/thread_platform.h b/source/core/unix/thread_platform.h
new file mode 100644 (file)
index 0000000..0477a6d
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef MSP_CORE_THREAD_PLATFORM_H_
+#define MSP_CORE_THREAD_PLATFORM_H_
+
+#include <pthread.h>
+
+namespace Msp {
+
+typedef pthread_t ThreadHandle;
+typedef void *ThreadReturn;
+
+#define THREAD_CALL
+
+} // namespace Msp
+
+#endif