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 0c85cb1fe6
feat(wasi-threads): Improve thread id allocator to reuse identifiers (#1809)
This PR allows reusing thread ids once they are released. That is done by using
a stack data structure to keep track of the used ids.
When a thread is created, it takes an available identifier from the stack. When
the thread exits, it returns the id to the stack of available identifiers.
2022-12-19 19:55:01 +08:00
..
lib_wasi_threads_wrapper.c feat(wasi-threads): Improve thread id allocator to reuse identifiers (#1809) 2022-12-19 19:55:01 +08:00
lib_wasi_threads.cmake Enable aux stack allocations on application heap (#1799) 2022-12-19 10:58:12 +08:00