We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 655ef94 commit 0f3c957Copy full SHA for 0f3c957
src/core/promise.cxx
@@ -167,8 +167,8 @@ struct final_awaitable : std::suspend_always {
167
*/
168
template <worker_context Context>
169
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.
+ // No synchronization is done via exception_bit, hence we can use relaxed atomics
+ // and rely on the usual fork/join synchronization to ensure memory ordering.
172
if (frame->atomic_except().exchange(1, std::memory_order_relaxed) == 0) {
173
174
std::exception_ptr exception = std::current_exception();
0 commit comments