mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:27:34 +00:00
LibJS: Stub out Atomics.wait and Atomics.waitAsync
We don't have the facilities to implement these methods fully (namely, a fully realized SharedArrayBuffer). But we can implement enough to validate the values passed in by the user.
This commit is contained in:
parent
a7073c3f1f
commit
78edaad97d
6 changed files with 241 additions and 0 deletions
|
@ -30,6 +30,8 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(or_);
|
||||
JS_DECLARE_NATIVE_FUNCTION(store);
|
||||
JS_DECLARE_NATIVE_FUNCTION(sub);
|
||||
JS_DECLARE_NATIVE_FUNCTION(wait);
|
||||
JS_DECLARE_NATIVE_FUNCTION(wait_async);
|
||||
JS_DECLARE_NATIVE_FUNCTION(xor_);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue