commit | f4b194ef8bf0fbbee82422d75df74dfa4fd26894 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Sep 21 10:26:41 2014 -0700 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Sep 21 10:32:55 2014 -0700 |
tree | 65e7b7da03c0d46bb41a08875ee4a16fd3ed43ea | |
parent | c0725a398c284d55584e77b42c2b2eecad4e1bb2 [diff] [blame] |
Fixed build error introduced by test upgrade without code upgrade. Change-Id: If0dc93c9013ccd1898fb1ec7eb34b355772d6b82
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();