async-std icon indicating copy to clipboard operation
async-std copied to clipboard

Mutex occasionally crashes when executing within WASM programs

Open jawline opened this issue 4 years ago • 1 comments

When using sync::Mutex in a program that also has wasm bindings the WASM version will occasionally crash due to a usage of "time". Is there any way to make this feature compatible with WASM? I understand that this feature is probably out of scope for async-std, but just wanted to check and see before I have platform specific versions.

jawline avatar Dec 17 '20 04:12 jawline

You might want to move this issue to async-lock since that's what async-std uses internally for its Mutex.

Kestrer avatar Dec 27 '20 07:12 Kestrer