1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:57:44 +00:00

LibJS: Stub out Atomics.notify

We don't have the facilities to implement this method 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:
Timothy Flynn 2023-11-15 16:19:15 -05:00 committed by Tim Flynn
parent 78edaad97d
commit 026363024f
4 changed files with 104 additions and 0 deletions

View file

@ -32,6 +32,7 @@ private:
JS_DECLARE_NATIVE_FUNCTION(sub);
JS_DECLARE_NATIVE_FUNCTION(wait);
JS_DECLARE_NATIVE_FUNCTION(wait_async);
JS_DECLARE_NATIVE_FUNCTION(notify);
JS_DECLARE_NATIVE_FUNCTION(xor_);
};