DescriptionAdd a lock around getting and setting of source_ to avoid possible compiler reorderings.
Also makes it very explicit that multi-threaded access is occuring.
BUG=24801
TEST=will see how TSan handles this.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102067
Patch Set 1 #Patch Set 2 : first patch #Patch Set 3 : fix the function names. #Patch Set 4 : More compile fixes #Patch Set 5 : more compile fix #Patch Set 6 : rebased #Messages
Total messages: 8 (0 generated)
|