mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-10-24 09:51:17 +00:00
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. |
||
|---|---|---|
| .. | ||
| lib_wasi_threads_wrapper.c | ||
| lib_wasi_threads.cmake | ||