Stream: wamr

Topic: call into reactor module from a different native thread


view this post on Zulip Georgii Rylov (Nov 06 2024 at 11:43):

Hi team, I wonder if calling into WASI reactor module is thread safe?

I'm running tokio in WASM and in a separate native thread I want to call into my WASI module function which would call waker and wake up(add to the async runtime queue) a Future

view this post on Zulip Christof Petig (Nov 11 2024 at 04:06):

The static return area generated by wit-bindgen isn't thread safe. Other parts might be, but for now this is considered unsupported below WASI 0.3.


Last updated: Dec 23 2024 at 12:05 UTC