1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

LibJS: Implement Atomics.compareExchange

This commit is contained in:
Timothy Flynn 2021-07-12 08:59:34 -04:00 committed by Linus Groh
parent 655ffce64d
commit 33eb830929
4 changed files with 144 additions and 0 deletions

View file

@ -21,6 +21,7 @@ public:
private:
JS_DECLARE_NATIVE_FUNCTION(add);
JS_DECLARE_NATIVE_FUNCTION(and_);
JS_DECLARE_NATIVE_FUNCTION(compare_exchange);
JS_DECLARE_NATIVE_FUNCTION(exchange);
JS_DECLARE_NATIVE_FUNCTION(load);
JS_DECLARE_NATIVE_FUNCTION(or_);