File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -179,8 +179,8 @@ struct awaitable : std::suspend_always {
179179
180180 frame_type<Context> &frame = parent.promise ().frame ;
181181
182- // No syncronisation is done via exception_bit, hence we can use relaxed atomics and
183- // rely on the usual fork/join syncronisation to ensure memory ordering.
182+ // No synchronisation is done via exception_bit, hence we can use relaxed atomics and
183+ // rely on the usual fork/join synchronisation to ensure memory ordering.
184184 if (frame.atomic_except ().exchange (1 , std::memory_order_relaxed) == 0 ) {
185185 }
186186 }
@@ -192,7 +192,7 @@ struct awaitable : std::suspend_always {
192192 // TODO: Add tests for exception/cancellation handling in fork/call.
193193
194194 if (!self.child || parent.promise ().frame .is_cancelled ()) [[unlikely]] {
195- // Noop if an exception was thrown or cancelled .
195+ // Noop if an exception was thrown or canceled .
196196 // Must clean-up the child that will never be resumed.
197197 return self.child ->handle ().destroy (), parent;
198198 }
You can’t perform that action at this time.
0 commit comments