DescriptionUse a ConditionVariable in place of WaitableEvent in BookmarkModelWorker.
This is to ensure future changes to the code don't introduce harmful races
that could arise in presence of compiler optimizations due to the lack of
a barrier permitting instruction re-ordering. The theoretical race that
exists now isn't causing any real malfunction today, but is causing
ThreadSanitizer warnings.
BUG=25915
TEST=BookmarkModelWorkerTest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=34558
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : comment retweak #Patch Set 4 : mac/linux compile #
Total comments: 5
Patch Set 5 : updates from comments #Patch Set 6 : '' #
Total comments: 2
Patch Set 7 : updates from comments 2 #
Messages
Total messages: 6 (0 generated)
|