wamr: add a kconfig to control wasi-threads

cf. https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
This commit is contained in:
YAMAMOTO Takashi 2023-07-05 20:36:46 +09:00 committed by Alan Carvalho de Assis
parent 41868f5061
commit c078b2ee7a

View File

@ -112,9 +112,17 @@ config INTERPRETERS_WAMR_THREAD_MGR
bool "Enable thread manager"
default n
config INTERPRETERS_WAMR_LIB_PTHREAD
bool "Enable lib pthread"
config INTERPRETERS_WAMR_LIB_WASI_THREADS
bool "Enable wasi-threads"
default n
---help---
See https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
config INTERPRETERS_WAMR_LIB_PTHREAD
bool "Enable lib pthread (legacy)"
default n
---help---
See https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/doc/pthread_impls.md
config INTERPRETERS_WAMR_LIB_PTHREAD_SEMAPHORE
bool "Enable semaphore"