wasm-micro-runtime/samples/wasi-threads/wasm-apps
Enrico Loparco 25ccc9f2d5
Avoid unused thread_id warning and recompile multi-module sample (#3033)
- Unused variable warning (when building in release mode):
```bash
wasm-micro-runtime/samples/wasi-threads/wasm-apps/no_pthread.c:44:9:
warning: variable 'thread_id' set but not used [-Wunused-but-set-variable]
    int thread_id;
```
- When using the multi-module example and changing the files in `wasm-apps`,
  they don't get recompiled when the sample is rebuilt. Adding `BUILD_ALWAYS`
  as it's done in other samples.
2024-01-17 08:06:02 +08:00
..
CMakeLists.txt Update wasi-libc version in CI and implement custom sync primitives (#2028) 2023-03-26 09:03:26 +08:00
no_pthread.c Implement strict validation of thread IDs according to the specification (#2521) 2023-08-31 20:23:54 +08:00
wasi_thread_start.h Avoid unused thread_id warning and recompile multi-module sample (#3033) 2024-01-17 08:06:02 +08:00
wasi_thread_start.S Disable aux stack allocations for threads spawned by wasi_thread_start (#1867) 2023-01-09 20:36:34 +08:00