diff options
Diffstat (limited to 'include/bh/internal/thread_posix.h')
| -rw-r--r-- | include/bh/internal/thread_posix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/bh/internal/thread_posix.h b/include/bh/internal/thread_posix.h index f02ce3a..0226efd 100644 --- a/include/bh/internal/thread_posix.h +++ b/include/bh/internal/thread_posix.h @@ -22,6 +22,11 @@ struct bh_cond_s pthread_cond_t handle; }; +struct bh_spinlock_s +{ + int handle; +}; + int bh_thread_init(bh_thread_t *thread, bh_task_t *task); |
