Implement TLS and spinlocks, fix bug in Windows threads
This commit is contained in:
@@ -39,6 +39,11 @@ struct bh_cond_s
|
||||
};
|
||||
#endif
|
||||
|
||||
struct bh_spinlock_s
|
||||
{
|
||||
LONG handle;
|
||||
};
|
||||
|
||||
int bh_thread_init_base(bh_thread_t *thread,
|
||||
bh_task_t *task,
|
||||
bh_thread_begin_cb_t begin,
|
||||
|
||||
Reference in New Issue
Block a user