Enrico Loparco 25ccc9f2d5 Avoid unused thread_id warning and recompile multi-module sample (#3033) il y a 2 ans
..
wasm-apps 25ccc9f2d5 Avoid unused thread_id warning and recompile multi-module sample (#3033) il y a 2 ans
CMakeLists.txt 83659fa42a Use wasi-sdk 20 pre-release for tests with threads (#2021) il y a 2 ans
README.md 0f73ce1076 Update wasi-libc version in CI and implement custom sync primitives (#2028) il y a 2 ans

README.md

"WASI threads" sample introduction

To run the sample, wasi-sdk >= 20 is required.

Build and run the samples

$ mkdir build
$ cd build
$ cmake ..
$ make
...
$ ./iwasm wasm-apps/no_pthread.wasm

Run samples in AOT mode

$ ../../../wamr-compiler/build/wamrc \
    --enable-multi-thread \
    -o wasm-apps/no_pthread.aot wasm-apps/no_pthread.wasm
$ ./iwasm wasm-apps/no_pthread.aot