diff options
| author | Mikhail Romanko <me@blankhex.com> | 2024-04-23 23:45:43 +0300 |
|---|---|---|
| committer | Mikhail Romanko <me@blankhex.com> | 2024-04-23 23:45:43 +0300 |
| commit | 692b5b42974e2f81dc4ad708a4593b1e8cb2bd3d (patch) | |
| tree | b7eec97f4a12e0090b9421e7dfe8a6116b7ef4d8 /include/bh/internal/thread_posix.h | |
| parent | ec499b6cfc3fe196757d4467ca044b5915198d45 (diff) | |
| download | bhlib-old-692b5b42974e2f81dc4ad708a4593b1e8cb2bd3d.tar.gz | |
Sync to the latest version.
Can be broken or partially implemented.
Diffstat (limited to 'include/bh/internal/thread_posix.h')
| -rw-r--r-- | include/bh/internal/thread_posix.h | 3 |
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); |
