duplicate wait instead of wait and notify

original was
```
notify(typedArray: Int32Array, index: number, count: number): number;
```
it seems to be a mistake, the real method is `notify` (the first wait is fine)
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics/notify
This commit is contained in:
Daniel Krom 2018-12-21 10:41:24 +02:00 committed by GitHub
parent a139303413
commit 490f69f984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ interface Atomics {
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
* number of agents that were awoken.
*/
wake(typedArray: Int32Array, index: number, count: number): number;
notify(typedArray: Int32Array, index: number, count: number): number;
/**
* Stores the bitwise XOR of a value with the value at the given position in the array,
@ -115,4 +115,4 @@ interface Atomics {
readonly [Symbol.toStringTag]: "Atomics";
}
declare var Atomics: Atomics;
declare var Atomics: Atomics;