From fa41197428ace09d98b61eb73a2f4905cebe5f01 Mon Sep 17 00:00:00 2001 From: Ilya Isaev Date: Thu, 28 Nov 2024 16:33:48 +0100 Subject: [PATCH] Apply suggested typo fix Co-authored-by: Aleksei Fedotov --- src/tbb/arena.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tbb/arena.h b/src/tbb/arena.h index 04f26fb7ed..698cac68dd 100644 --- a/src/tbb/arena.h +++ b/src/tbb/arena.h @@ -206,7 +206,7 @@ class thread_leave_manager { void restore_state_if_needed() { std::uint64_t curr = ONE_TIME_FAST_LEAVE; if (my_state.load(std::memory_order_relaxed) == curr) { - // Potentially can override desicion of the parallel block from future epoch + // Potentially can override decision of the parallel block from future epoch // but it is not a problem because it does not violate the correctness my_state.compare_exchange_strong(curr, DELAYED_LEAVE); }