tomaka/redshirt

Possible deadlock in processes.rs

tomaka opened this issue · 0 comments

It is possible to call run to obtain a ReadyToRun, which holds a lock to the process, then attempt to read or write the memory of that process, which also needs access to the lock.

It's a bit unclear how to fix that. Any fix is temporary, considering that Wasm isn't multithreaded yet.