You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #2916 it was mentioned that the source rejection counters, which are static variables, are not incremented in a threadsafe way. This has not resulted in any bugs so far, but may give behavior slightly different from what's expected. In most systems operations on 32 bit data are atomic in the first place so this hasn't been an issue. Rigorously, though, these should be atomic add operations.
This issue can be closed when OpenMP atomic statements are appropriately inserted for manipulating the source rejection counters, i.e. static variables which are related to EXTERNAL_SRC_REJECT_THRESHOLD.
The text was updated successfully, but these errors were encountered:
Bug Description
In #2916 it was mentioned that the source rejection counters, which are static variables, are not incremented in a threadsafe way. This has not resulted in any bugs so far, but may give behavior slightly different from what's expected. In most systems operations on 32 bit data are atomic in the first place so this hasn't been an issue. Rigorously, though, these should be atomic add operations.
This issue can be closed when OpenMP atomic statements are appropriately inserted for manipulating the source rejection counters, i.e. static variables which are related to
EXTERNAL_SRC_REJECT_THRESHOLD
.The text was updated successfully, but these errors were encountered: