Skip to content

Commit

Permalink
Apply suggested typo fix
Browse files Browse the repository at this point in the history
Co-authored-by: Aleksei Fedotov <[email protected]>
  • Loading branch information
isaevil and aleksei-fedotov authored Nov 28, 2024
1 parent 6538eca commit fa41197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tbb/arena.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fa41197

Please sign in to comment.