You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In LeaveCriticalSection (introduced in PR #1692) step 2 is: 1. Let _execution_ be the [[CandidateExecution]] field of the calling surrounding's Agent Record.
Presumably, "the calling surrounding" should be either "the calling agent" or "the surrounding agent", but I don't know which.
The text was updated successfully, but these errors were encountered:
I'm now pretty sure that "the calling agent" is just a lingering alias for "the surrounding agent". (So it and "the calling surrounding" should just be changed to "the surrounding agent".)
For instance, consider that the preamble for Atomics.wait says:
Atomics.wait puts the calling agent in a wait queue and puts it to sleep ...
But then the algorithm says:
1. Let _W_ be AgentSignifier().
1. Perform AddWaiter(_WL_, _W_).
1. ... SuspendAgent(_WL_, _W_, _t_).
and AgentSignifier() returns the signifier for the surrounding agent, so the algorithm is actually putting the surrounding agent in a wait queue and suspending it.
Closestc39#1721
In parts having to do with Atomics, we use the phrase "surrounding
agent" interchangeably with "calling agent". This PR makes the phrasing
uniform.
In LeaveCriticalSection (introduced in PR #1692) step 2 is:
1. Let _execution_ be the [[CandidateExecution]] field of the calling surrounding's Agent Record.
Presumably, "the calling surrounding" should be either "the calling agent" or "the surrounding agent", but I don't know which.
The text was updated successfully, but these errors were encountered: