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
Hi ! May I know why it needs to set 'compare' as 'popped' again here?
atomic_compare_exchange_strong doesn't change 'compare' when it returns true, does it? (https://en.cppreference.com/w/c/atomic/atomic_compare_exchange)
Is this line for some special cases? Thanks.
The text was updated successfully, but these errors were encountered:
hungry-birds/queue.c
Line 60 in 4116630
Hi ! May I know why it needs to set 'compare' as 'popped' again here?
atomic_compare_exchange_strong doesn't change 'compare' when it returns true, does it? (https://en.cppreference.com/w/c/atomic/atomic_compare_exchange)
Is this line for some special cases? Thanks.
The text was updated successfully, but these errors were encountered: