summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-03-19 16:14:13 -0700
committerMathias Agopian <mathias@google.com>2010-03-19 16:16:43 -0700
commita729f97e8bfba67a94b1cde26d0d78d84528de85 (patch)
tree348c44f823825856df69b8b8e640bc86146a438f /libs
parent078fd47e91d495175927d1a4a8b9aad039a7ba4e (diff)
downloadframeworks_base-a729f97e8bfba67a94b1cde26d0d78d84528de85.zip
frameworks_base-a729f97e8bfba67a94b1cde26d0d78d84528de85.tar.gz
frameworks_base-a729f97e8bfba67a94b1cde26d0d78d84528de85.tar.bz2
libutils Condition are now PRIVATE by default
Condition must be initialized with SHARED for the old behavior, where they can be used accross processes. Updated the two places android that require SHARED conditions. PRIVATE conditions (and mutexes) use more efficient syscalls. Change-Id: I9a281a4b88206e92ac559c66554e886b9c62db3a
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaceflinger_client/SharedBufferStack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaceflinger_client/SharedBufferStack.cpp b/libs/surfaceflinger_client/SharedBufferStack.cpp
index 65ce1c1..a17e8ac 100644
--- a/libs/surfaceflinger_client/SharedBufferStack.cpp
+++ b/libs/surfaceflinger_client/SharedBufferStack.cpp
@@ -34,7 +34,7 @@ namespace android {
// ----------------------------------------------------------------------------
SharedClient::SharedClient()
- : lock(Mutex::SHARED)
+ : lock(Mutex::SHARED), cv(Condition::SHARED)
{
}