Fix multi-threading issues (#2013)
- Implement atomic.fence to ensure a proper memory synchronization order - Destroy exec_env_singleton first in wasm/aot deinstantiation - Change terminate other threads to wait for other threads in wasm_exec_env_destroy - Fix detach thread in thread_manager_start_routine - Fix duplicated lock cluster->lock in wasm_cluster_cancel_thread - Add lib-pthread and lib-wasi-threads compilation to Windows CI
This commit is contained in:
14
.github/workflows/compilation_on_windows.yml
vendored
14
.github/workflows/compilation_on_windows.yml
vendored
@ -118,3 +118,17 @@ jobs:
|
||||
cmake .. -DWAMR_BUILD_DEBUG_INTERP=1
|
||||
cmake --build . --config Release --parallel 4
|
||||
cd .. && rm -force -r build
|
||||
- name: Build iwasm [lib pthread]
|
||||
run: |
|
||||
cd product-mini/platforms/windows
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_LIB_PTHREAD=1
|
||||
cmake --build . --config Release --parallel 4
|
||||
cd .. && rm -force -r build
|
||||
- name: Build iwasm [lib wasi-thread]
|
||||
run: |
|
||||
cd product-mini/platforms/windows
|
||||
mkdir build && cd build
|
||||
cmake .. -DWAMR_BUILD_LIB_WASI_THREADS=1
|
||||
cmake --build . --config Release --parallel 4
|
||||
cd .. && rm -force -r build
|
||||
|
||||
Reference in New Issue
Block a user