summaryrefslogtreecommitdiffstats
path: root/runtime/monitor.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2013-11-12 17:03:02 -0800
committerMathieu Chartier <mathieuc@google.com>2013-11-12 17:03:02 -0800
commit46bc778f1feed02b20d25e3d03470c93ca2c0506 (patch)
treeac760c321039cd8a5e78ae766accf4dc3ddb194b /runtime/monitor.h
parent0b74e3acc2fd35d95ac55c4ee2ffe5c651229ed8 (diff)
downloadart-46bc778f1feed02b20d25e3d03470c93ca2c0506.zip
art-46bc778f1feed02b20d25e3d03470c93ca2c0506.tar.gz
art-46bc778f1feed02b20d25e3d03470c93ca2c0506.tar.bz2
Fix portable + mips build.
Change-Id: Ia200e582b04c84973281e12331777351feb8a401
Diffstat (limited to 'runtime/monitor.h')
-rw-r--r--runtime/monitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/monitor.h b/runtime/monitor.h
index d7de8a5..bfd8545 100644
--- a/runtime/monitor.h
+++ b/runtime/monitor.h
@@ -174,6 +174,9 @@ class Monitor {
Mutex monitor_lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
ConditionVariable monitor_contenders_ GUARDED_BY(monitor_lock_);
+ // Number of people waiting on the condition.
+ size_t num_waiters_ GUARDED_BY(monitor_lock_);
+
// Which thread currently owns the lock?
Thread* volatile owner_ GUARDED_BY(monitor_lock_);