Description
Write a test that runs Mutex code inside QuickJS, ensuring that the async/await-based Mutex works. Because QuickJS's polling is fundamentally different from V8's, there may be different atomicity guarantees (or lacks thereof!) around coroutines.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- Mutex acquisition and release is tested in QuickJS
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist