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
Due to a small semantic change in porting the C++ code over to D we are calling is_locked more than we need to.
D didn't have compare_exchange_weak so I used casWeak. The difference is that compare_exchange_weak also loads the value if the compare fails, whereas casWeak only compares and doesn't load the value.
Due to a small semantic change in porting the C++ code over to D we are calling is_locked more than we need to.
D didn't have compare_exchange_weak so I used casWeak. The difference is that compare_exchange_weak also loads the value if the compare fails, whereas casWeak only compares and doesn't load the value.
That means that these checks
concurrency/source/concurrency/stoptoken.d
Line 311 in f5e280f
concurrency/source/concurrency/stoptoken.d
Line 326 in f5e280f
could be skipped (they are always false) AFTER the casWeak in the outer while failed.
The text was updated successfully, but these errors were encountered: