chakra-core / chakra-core/ChakraCore

Atomics.wake(...) always returns 0 on non-win32 platforms

Open
#5,368 1 comment 0 reactions 0 assignees View on GitHub
Bug Severity: 2
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

While working on Atomics tests for Test262, I observed that any test which checked that the return value of `Atomics.wake(...)` was some non-zero value, the test would fail. I've tracked the cause:

https://github.com/Microsoft/ChakraCore/blob/c0723f4985c468937c6ac12260bdbe5da6d25539/lib/Runtime/Library/SharedArrayBuffer.cpp#L764-L780

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.