From a729f97e8bfba67a94b1cde26d0d78d84528de85 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 19 Mar 2010 16:14:13 -0700 Subject: 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 --- libs/surfaceflinger_client/SharedBufferStack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/surfaceflinger_client') 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) { } -- cgit v1.1