File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ The full protocol for a thread to fall asleep is as follows:
139139 * Checks the JEC to see that it has not changed from ` final_value ` .
140140 * If it has, then the thread goes back to searching for work. We reset to
141141 just before we got sleepy, so that we will do one more search
142- before attending to sleep again (rather than searching for many rounds).
142+ before attempting to sleep again (rather than searching for many rounds).
143143 * Increments the number of sleeping threads by 1.
144144* The thread then executes a seq-cst fence operation (see below).
145145* The thread then does one final check for injected jobs (see below). If any
@@ -216,4 +216,4 @@ Meanwhile, the sleepy thread does the following:
216216Either PushFence or SleepFence must come first:
217217
218218* If PushFence comes first, then PushJob must be visible to ReadJob.
219- * If SleepFence comes first, then IncSleepers is visible to ReadSleepers.
219+ * If SleepFence comes first, then IncSleepers is visible to ReadSleepers.
You can’t perform that action at this time.
0 commit comments