Implement TLS and spinlocks, fix bug in Windows threads

This commit is contained in:
2024-06-10 22:24:57 +03:00
parent 8939076f94
commit ada9d3ada5
10 changed files with 359 additions and 3 deletions

View File

@@ -27,6 +27,7 @@
#define BH_NOT_FOUND 0x0006
#define BH_TIMEOUT 0x0007
typedef void (*bh_generic_cb_t)(void *data);
typedef int (*bh_equal_cb_t)(const void *, const void *);
typedef size_t (*bh_hash_cb_t)(const void *);