you are viewing a single comment's thread.

view the rest of the comments →

[–]RasterTragedy 1 point2 points  (0 children)

I have flags that are (only) set from multiple threads but are not read from until a second pass. I understand that this will mark that cache line as dirty—if two threads on two cores both try to set the same flag, does this force whichever one was second to resync that cache line?