From: Daniel Arndt Date: Mon, 4 May 2020 14:19:35 +0000 (-0400) Subject: Avoid volatile assignment in TBB X-Git-Tag: v9.2.0-rc1~134^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4280cadc48882ca88a1079672e05e451790b1ebd;p=dealii.git Avoid volatile assignment in TBB --- diff --git a/bundled/tbb-2018_U2/src/tbb/arena.cpp b/bundled/tbb-2018_U2/src/tbb/arena.cpp index c994a1ff29..e280a6926c 100644 --- a/bundled/tbb-2018_U2/src/tbb/arena.cpp +++ b/bundled/tbb-2018_U2/src/tbb/arena.cpp @@ -202,7 +202,8 @@ arena::arena ( market& m, unsigned num_slots, unsigned num_reserved_slots ) { my_max_num_workers = num_slots-num_reserved_slots; my_references = ref_external; // accounts for the master #if __TBB_TASK_PRIORITY - my_bottom_priority = my_top_priority = normalized_normal_priority; + my_bottom_priority = normalized_normal_priority; + my_top_priority = normalized_normal_priority; #endif /* __TBB_TASK_PRIORITY */ my_aba_epoch = m.my_arenas_aba_epoch; #if __TBB_ARENA_OBSERVER