aboutsummaryrefslogtreecommitdiff
path: root/src/Platform/Dummy/Thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Platform/Dummy/Thread.c')
-rw-r--r--src/Platform/Dummy/Thread.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/Platform/Dummy/Thread.c b/src/Platform/Dummy/Thread.c
new file mode 100644
index 0000000..a36a780
--- /dev/null
+++ b/src/Platform/Dummy/Thread.c
@@ -0,0 +1,31 @@
+#include "Thread.h"
+
+#include <BH/Thread.h>
+
+
+BH_Thread *BH_ThreadNew(size_t stack,
+ BH_ThreadCallback callback,
+ void *data)
+{
+ BH_UNUSED(stack);
+ BH_UNUSED(callback);
+ BH_UNUSED(data);
+
+ return NULL;
+}
+
+
+int BH_ThreadJoin(BH_Thread *thread)
+{
+ BH_UNUSED(thread);
+
+ return BH_NOIMPL;
+}
+
+
+int BH_ThreadDetach(BH_Thread *thread)
+{
+ BH_UNUSED(thread);
+
+ return BH_NOIMPL;
+}