Skip to content

Commit

Permalink
tryLock -> lockIfAvailable
Browse files Browse the repository at this point in the history
  • Loading branch information
syg committed Sep 20, 2024
1 parent 9e23b00 commit c05343a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1661,8 +1661,8 @@ <h1>Atomics.Mutex.lock ( _mutex_ [ , _unlockToken_ [ , _timeout_ ] ] )</h1>
</emu-alg>
</emu-clause>
<emu-clause id="sec-atomics.mutex.trylock">
<h1>Atomics.Mutex.tryLock ( _mutex_ [ , _unlockToken_ ] )</h1>
<emu-clause id="sec-atomics.mutex.lockifavailable">
<h1>Atomics.Mutex.lockIfAvailable ( _mutex_ [ , _unlockToken_ ] )</h1>
<p>It performs the following steps when called:</p>
<emu-alg>
1. Perform ? RequireInternalSlot(_mutex_, [[MutexWaiterList]]).
Expand Down

0 comments on commit c05343a

Please sign in to comment.