Skip to content

Commit 0f3c957

Browse files
author
Conor
committed
spell
1 parent 655ef94 commit 0f3c957

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/promise.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ struct final_awaitable : std::suspend_always {
167167
*/
168168
template <worker_context Context>
169169
constexpr void stash_current_exception(frame_type<Context> *frame) noexcept {
170-
// No synchronisation is done via exception_bit, hence we can use relaxed atomics
171-
// and rely on the usual fork/join synchronisation to ensure memory ordering.
170+
// No synchronization is done via exception_bit, hence we can use relaxed atomics
171+
// and rely on the usual fork/join synchronization to ensure memory ordering.
172172
if (frame->atomic_except().exchange(1, std::memory_order_relaxed) == 0) {
173173

174174
std::exception_ptr exception = std::current_exception();

0 commit comments

Comments
 (0)