This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/core/iwasm/libraries/lib-wasi-threads
Enrico Loparco 4e5529f21f
Reserve TID values for WASI threads (#1862)
According to the [WASI thread specification](https://github.com/WebAssembly/wasi-threads/pull/16),
some thread identifiers are reserved and should not be used. In fact, only IDs between `1` and
`0x1FFFFFFF` are valid.

The thread ID allocator has been moved to a separate class to avoid polluting the
`lib_wasi_threads_wrapper` logic.
2023-01-06 10:28:25 +08:00
..
lib_wasi_threads_wrapper.c Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
lib_wasi_threads.cmake Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
tid_allocator.c Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
tid_allocator.h Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00