wasm-micro-runtime/core/iwasm/libraries/lib-pthread
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
..
lib_pthread_wrapper.c Implement suspend flags as atomic variable (#2361) 2023-07-21 08:27:09 +08:00
lib_pthread.cmake Implement POSIX semaphore support for linux platform (#1345) 2022-08-08 19:59:46 +08:00
SConscript add porting codes of rt-thread (#494) 2021-01-14 11:26:35 +08:00