aboutsummaryrefslogtreecommitdiff
path: root/include/bh/internal/thread_null.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bh/internal/thread_null.h')
-rw-r--r--include/bh/internal/thread_null.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/bh/internal/thread_null.h b/include/bh/internal/thread_null.h
index 035d585..bcf476f 100644
--- a/include/bh/internal/thread_null.h
+++ b/include/bh/internal/thread_null.h
@@ -18,6 +18,11 @@ struct bh_cond_s
void *handle;
};
+struct bh_spinlock_s
+{
+ int handle;
+};
+
int bh_thread_init(bh_thread_t *thread,
bh_task_t *task);
@@ -30,4 +35,4 @@ void bh_cond_destroy(bh_cond_t *cond);
int bh_thread_pool_init(bh_thread_pool_t *pool,
size_t size);
-void bh_thread_pool_destroy(bh_thread_pool_t *pool);
+void bh_thread_pool_destroy(bh_thread_pool_t *pool); \ No newline at end of file