Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: chrome\browser\sync\engine\syncer_thread_timed_stop.cc

Issue 250001: Second attempt at the new syncer thread impl, now with less crashes!... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome\browser\sync\engine\syncer_thread_timed_stop.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 #include "chrome/browser/sync/engine/syncer_thread_timed_stop.h" 4 #include "chrome/browser/sync/engine/syncer_thread_timed_stop.h"
5 5
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 7
8 #ifdef OS_MACOSX 8 #ifdef OS_MACOSX
9 #include <CoreFoundation/CFNumber.h> 9 #include <CoreFoundation/CFNumber.h>
10 #include <IOKit/IOTypes.h> 10 #include <IOKit/IOTypes.h>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // release the lock until we're far enough along to Stop safely. 110 // release the lock until we're far enough along to Stop safely.
111 in_thread_main_loop_ = true; 111 in_thread_main_loop_ = true;
112 vault_field_changed_.Broadcast(); 112 vault_field_changed_.Broadcast();
113 ThreadMainLoop(); 113 ThreadMainLoop();
114 in_thread_main_loop_ = false; 114 in_thread_main_loop_ = false;
115 vault_field_changed_.Broadcast(); 115 vault_field_changed_.Broadcast();
116 LOG(INFO) << "Syncer thread ThreadMain is done."; 116 LOG(INFO) << "Syncer thread ThreadMain is done.";
117 } 117 }
118 118
119 } // namespace browser_sync 119 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome\browser\sync\engine\syncer_thread_timed_stop.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698