-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
lib: remove Atomics.wake #27033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lib: remove Atomics.wake #27033
Conversation
PR-URL: nodejs#27033 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
3da6571 to
15c0947
Compare
|
landed in 15c0947 |
| } | ||
|
|
||
| return ReflectApply(AtomicsNotify, this, arguments); | ||
| if (global.Atomics) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was no safeguard before and AFAIK there's no build where this is not a global. Is this actually needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iirc V8 can disable atomics similarly to how it can disable intl
@nodejs/tsc @nodejs/v8
this has been cooking since 10.x, perhaps we can remove it?
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes