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

LibJS: Implement Atomics.isLockFree

This commit is contained in:
Timothy Flynn 2021-07-12 10:35:14 -04:00 committed by Linus Groh
parent d9c2447999
commit 1a3e1bff7b
4 changed files with 46 additions and 0 deletions

View file

@ -23,6 +23,7 @@ private:
JS_DECLARE_NATIVE_FUNCTION(and_);
JS_DECLARE_NATIVE_FUNCTION(compare_exchange);
JS_DECLARE_NATIVE_FUNCTION(exchange);
JS_DECLARE_NATIVE_FUNCTION(is_lock_free);
JS_DECLARE_NATIVE_FUNCTION(load);
JS_DECLARE_NATIVE_FUNCTION(or_);
JS_DECLARE_NATIVE_FUNCTION(store);