Update wasi-libc version in CI and implement custom sync primitives (#2028)

Update wasi-libc version to resolve the hang issue when running wasi-threads cases.

Implement custom sync primitives as a counterpart of `pthread_barrier_wait` to
attempt to replace pthread sync primitives since they seem to cause data races
when running with the thread sanitizer.
This commit is contained in:
Enrico Loparco
2023-03-26 03:03:26 +02:00
committed by GitHub
parent 0faec7c96c
commit 0f73ce1076
8 changed files with 109 additions and 153 deletions

View File

@ -43,5 +43,4 @@ function (compile_sample SOURCE_FILE)
)
endfunction ()
compile_sample(no_pthread.c wasi_thread_start.S)
compile_sample(thread_termination.c wasi_thread_start.S)
compile_sample(no_pthread.c wasi_thread_start.S)