diff options
Diffstat (limited to 'chrome/browser/sync/util/event_sys_unittest.cc')
-rw-r--r-- | chrome/browser/sync/util/event_sys_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/util/event_sys_unittest.cc b/chrome/browser/sync/util/event_sys_unittest.cc index 9afd64b..0686977 100644 --- a/chrome/browser/sync/util/event_sys_unittest.cc +++ b/chrome/browser/sync/util/event_sys_unittest.cc @@ -224,7 +224,7 @@ class ThreadTester : public EventListener<TestEvent>, remove_event_mutex_.Release(); remove_event_.Broadcast(); - PlatformThread::Sleep(1); + PlatformThread::YieldCurrentThread(); for (size_t i = 0; i < threads_.size(); i++) { if (threads_[i].completed) |