You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the wasi functions are not threadsafe, as wasi file descriptors are backed by an internal data structure that isn't threadsafe, nor wrapped by any locks. This is fine for simple programs, but more complex programs that embed bytebox may invoke wasm functions from different threads. Ideally the solution will also allow compiling thread safety out if it isn't needed to avoid the overhead in single-threaded environments.
The text was updated successfully, but these errors were encountered:
The current implementation of the wasi functions are not threadsafe, as wasi file descriptors are backed by an internal data structure that isn't threadsafe, nor wrapped by any locks. This is fine for simple programs, but more complex programs that embed bytebox may invoke wasm functions from different threads. Ideally the solution will also allow compiling thread safety out if it isn't needed to avoid the overhead in single-threaded environments.
The text was updated successfully, but these errors were encountered: