summaryrefslogtreecommitdiffstats
path: root/base/object_watcher.cc
diff options
context:
space:
mode:
authordarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-09 07:30:45 +0000
committerdarin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-09 07:30:45 +0000
commit961501153a1f85acc07321c1a15ff31352faa2c4 (patch)
treee320464205c4037368a50e1d3707f556a652f781 /base/object_watcher.cc
parent2f0f100b03ff0921362c75f9d8f61a44a45893c4 (diff)
downloadchromium_src-961501153a1f85acc07321c1a15ff31352faa2c4.zip
chromium_src-961501153a1f85acc07321c1a15ff31352faa2c4.tar.gz
chromium_src-961501153a1f85acc07321c1a15ff31352faa2c4.tar.bz2
just a test...
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/object_watcher.cc')
-rw-r--r--base/object_watcher.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/object_watcher.cc b/base/object_watcher.cc
index 9872a4c..bb4b568 100644
--- a/base/object_watcher.cc
+++ b/base/object_watcher.cc
@@ -141,6 +141,9 @@ void CALLBACK ObjectWatcher::DoneWaiting(void* param, BOOLEAN timed_out) {
// Record that we ran this function.
watch->did_signal = true;
+ // TODO(darin): This is just a test.
+ 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.