wasm-micro-runtime/core/iwasm/libraries/lib-wasi-threads
Krisztian fa7c2d37f4
clean(zephyr): reduce warnings on zephyr platform (#4860)
* clean(warnings): fix [-Wsign-compare] in zephyr_file

buf_len is a long unsigned int, while bytes_* can be negative due to error values.
We don't need to check bytes_* for negative value, as it was done during read/write op.

* clean(warnings): fix "MIN" redefined warning

Some platforms, like Zephyr, already define MIN and definition in WAMR cause
`warning: "MIN" redefined` warning.
Check if it was defined before, and do not redefine it.

Signed-off-by: Krisztian Szilvasi <34309983+kr-t@users.noreply.github.com>
2026-03-05 08:58:04 +08:00
..
stress-test fix: correct typos and improve comments across multiple files by codespell (#4116) 2025-03-07 08:21:54 +08:00
test Revert "Return error when exception was raised after main thread finishes" (#2524) 2023-09-04 18:01:09 +08:00
unit-test Add unit tests for the tid allocator (#2519) 2023-09-04 13:21:10 +08:00
lib_wasi_threads_wrapper.c Pass InstantiationArgs2 down to aot_instantiate/wasm_instantiate (#4594) 2025-10-23 15:57:50 +08:00
lib_wasi_threads.cmake Reserve TID values for WASI threads (#1862) 2023-01-06 10:28:25 +08:00
SConscript Support more features for rt-thread (#3661) 2024-07-26 10:34:15 +08:00
tid_allocator.c clean(zephyr): reduce warnings on zephyr platform (#4860) 2026-03-05 08:58:04 +08:00
tid_allocator.h Add unit tests for the tid allocator (#2519) 2023-09-04 13:21:10 +08:00