From 46bc778f1feed02b20d25e3d03470c93ca2c0506 Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Tue, 12 Nov 2013 17:03:02 -0800 Subject: Fix portable + mips build. Change-Id: Ia200e582b04c84973281e12331777351feb8a401 --- runtime/monitor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/monitor.h') 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_); -- cgit v1.1