From 4462f52c2133773ec013e0ee87020a2f8cc20955 Mon Sep 17 00:00:00 2001 From: "darin@google.com" Date: Fri, 8 Aug 2008 03:17:30 +0000 Subject: rollback my experiment to see the effects git-svn-id: svn://svn.chromium.org/chrome/trunk/src@551 0039d316-1c4b-4281-b951-d872f2087c98 --- base/object_watcher.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'base') diff --git a/base/object_watcher.cc b/base/object_watcher.cc index e641232..9872a4c 100644 --- a/base/object_watcher.cc +++ b/base/object_watcher.cc @@ -141,10 +141,6 @@ void CALLBACK ObjectWatcher::DoneWaiting(void* param, BOOLEAN timed_out) { // Record that we ran this function. watch->did_signal = true; - // Make this run very soon on the target thread. TODO(darin): This could - // lead to starving other tasks on the origin thread. - watch->set_priority(1000); - // We rely on the locking in PostTask() to ensure that a memory barrier is // provided, which in turn ensures our change to did_signal can be observed // on the target thread. -- cgit v1.1