Fixed build error introduced by test upgrade without code upgrade.
Change-Id: If0dc93c9013ccd1898fb1ec7eb34b355772d6b82
diff --git a/aos/common/condition.h b/aos/common/condition.h
index c913b47..ef51b89 100644
--- a/aos/common/condition.h
+++ b/aos/common/condition.h
@@ -54,7 +54,8 @@
// and will be locked when this method returns.
// NOTE: The relocking of the mutex is not performed atomically with waking
// up.
- void Wait();
+ // Returns false.
+ bool Wait();
// Signals at most 1 other process currently Wait()ing on this condition
// variable. Calling this does not require the mutex associated with this
diff --git a/aos/common/mutex.h b/aos/common/mutex.h
index ff953e4..251eb3c 100644
--- a/aos/common/mutex.h
+++ b/aos/common/mutex.h
@@ -28,7 +28,8 @@
~Mutex();
#endif
// Locks the mutex. If it fails, it calls LOG(FATAL).
- void Lock();
+ // Returns false.
+ bool Lock();
// Unlocks the mutex. Fails like Lock.
// Multiple unlocking is undefined.
void Unlock();