Potential to modify ordering for IS_TEST in lib module
wang384670111 opened this issue · comments
Lines 479 to 485 in 4e3169f
SeqCst
is overly restrictive. I believe that the ordering can be appropriately modified.
In lib
model, I believe that IS_TEST
is merely signals for multithreading purposes and do not synchronize with other locals. Therefore, using Relaxed
ordering should suffice.
(happy to make a PR if this looks reasonable)
Sure PR is good. Doesn't make any difference really since this is not a very used code path.