aboutsummaryrefslogtreecommitdiff
path: root/include/bh/internal/thread_posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bh/internal/thread_posix.h')
-rw-r--r--include/bh/internal/thread_posix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bh/internal/thread_posix.h b/include/bh/internal/thread_posix.h
index 311d0ae..bef12a9 100644
--- a/include/bh/internal/thread_posix.h
+++ b/include/bh/internal/thread_posix.h
@@ -3,6 +3,7 @@
struct bh_thread_s
{
pthread_t handle;
+ int allocated;
};
struct bh_mutex_s
@@ -27,4 +28,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); \ No newline at end of file
+void bh_thread_pool_destroy(bh_thread_pool_t *pool);