mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 04:38:25 +00:00
* Fix Wait/Notify opcode, the waiters hashmap is now on the Memory itself * Refactored for clarity * Use WAIT_ERROR everywhere * Change from WAIT_ERROR to Option * Added some unit test for threadconditions * Switch from `Mutex<HashMap<...>>` to `DashMap<...>` for the NotifyMap * Use FnvHasher for Dashmap * Change timeout value in unit test to leave more margin to the system to react. * Consolidate code, avoid duplication * Put test in a test module * Use an Result with custom error instead of an option for waiter