Implement TLS and spinlocks, fix bug in Windows threads
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user