Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (condition) {
- globalArray[i].first = value
- } else {
- globalArray[i].second = value
- }
- InterlockedExchange(globalArray[i].flag, true, oldFlag)
- if (!oldFlag) {
- return
- }
- if (condition) {
- new_value = globalArray[i].second
- } else {
- new_value = globalArray[i].first
- }
Add Comment
Please, Sign In to add comment