From a4cff88d80bf1acbdbd063af88ecad83a8b9b7b4 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Thu, 13 Nov 2014 17:07:40 -0800 Subject: Fix issue #18356768: some app process may hang at Runtime#exit... ...in Parcel destructor Don't use a Mutux object, just use simple posix mutex primitives, to avoid static init/destroy order problems. Change-Id: Ic012d94297564c0a55d58869f8276d7d10545fbc --- include/private/binder/Static.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/private/binder/Static.h b/include/private/binder/Static.h index eeb37d7..d104646 100644 --- a/include/private/binder/Static.h +++ b/include/private/binder/Static.h @@ -34,11 +34,6 @@ extern Vector gTextBuffers; extern Mutex gProcessMutex; extern sp gProcess; -// For Parcel.cpp -extern Mutex gParcelGlobalAllocSizeLock; -extern size_t gParcelGlobalAllocSize; -extern size_t gParcelGlobalAllocCount; - // For IServiceManager.cpp extern Mutex gDefaultServiceManagerLock; extern sp gDefaultServiceManager; -- cgit v1.1