Skip to content

Commit

Permalink
phrasing
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Sep 7, 2022
1 parent 9aa1803 commit 8bcb56b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -41923,7 +41923,7 @@ <h1>
1. Perform ? ValidateTypedArray(_typedArray_).
1. Let _buffer_ be _typedArray_.[[ViewedArrayBuffer]].
1. If _waitable_ is *true*, then
1. If _typedArray_.[[TypedArrayName]] is not *"Int32Array"* or *"BigInt64Array"*, throw a *TypeError* exception.
1. If _typedArray_.[[TypedArrayName]] is neither *"Int32Array"* nor *"BigInt64Array"*, throw a *TypeError* exception.
1. Else,
1. Let _type_ be TypedArrayElementType(_typedArray_).
1. If IsUnclampedIntegerElementType(_type_) is *false* and IsBigIntElementType(_type_) is *false*, throw a *TypeError* exception.
Expand Down Expand Up @@ -42080,7 +42080,7 @@ <h1>
</dl>
<emu-alg>
1. Assert: The surrounding agent is in the critical section for _WL_.
1. Assert: _W_ is equivalent to AgentSignifier().
1. Assert: _W_ is AgentSignifier().
1. Assert: _W_ is on the list of waiters in _WL_.
1. Assert: AgentCanSuspend() is *true*.
1. Perform LeaveCriticalSection(_WL_) and suspend _W_ for up to _timeout_ milliseconds, performing the combined operation in such a way that a notification that arrives after the critical section is exited but before the suspension takes effect is not lost. _W_ can notify either because the timeout expired or because it was notified explicitly by another agent calling NotifyWaiter with arguments _WL_ and _W_, and not for any other reasons at all.
Expand Down Expand Up @@ -42363,7 +42363,7 @@ <h1>Atomics.wait ( _typedArray_, _index_, _value_, _timeout_ )</h1>
1. Perform EnterCriticalSection(_WL_).
1. Let _elementType_ be TypedArrayElementType(_typedArray_).
1. Let _w_ be GetValueFromBuffer(_buffer_, _indexedPosition_, _elementType_, *true*, ~SeqCst~).
1. If _v_ &ne; _w_, then
1. If _v_ is not _w_, then
1. Perform LeaveCriticalSection(_WL_).
1. Return the String *"not-equal"*.
1. Let _W_ be AgentSignifier().
Expand Down

0 comments on commit 8bcb56b

Please sign in to comment.