liang.he 8f8c5605e9 Raise wasi-sdk to 25 and wabt to 1.0.37 (#4187) 9 luni în urmă
..
wasm-apps 8f8c5605e9 Raise wasi-sdk to 25 and wabt to 1.0.37 (#4187) 9 luni în urmă
CMakeLists.txt 8f8c5605e9 Raise wasi-sdk to 25 and wabt to 1.0.37 (#4187) 9 luni în urmă
README.md 0f73ce1076 Update wasi-libc version in CI and implement custom sync primitives (#2028) 2 ani în urmă

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