wasm-micro-runtime/core/iwasm/libraries/thread-mgr
Marcin Kolny 0f4edf9735
Implement suspend flags as atomic variable (#2361)
We have observed a significant performance degradation after merging
https://github.com/bytecodealliance/wasm-micro-runtime/pull/1991
Instead of protecting suspend flags with a mutex, we implement the flags
as atomic variable and only use mutex when atomics are not available
on a given platform.
2023-07-21 08:27:09 +08:00
..
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00
thread_manager.c Implement suspend flags as atomic variable (#2361) 2023-07-21 08:27:09 +08:00
thread_manager.h Fix three multi-threading and wasm-c-api-imports issues (#2173) 2023-05-05 10:01:58 +08:00
thread_mgr.cmake Enable shared memory && add pthread support (#282) 2020-06-15 19:04:04 +08:00