OSDN Git Service

Fix issue #18356768: some app process may hang at Runtime#exit...
authorDianne Hackborn <hackbod@google.com>
Fri, 14 Nov 2014 01:07:40 +0000 (17:07 -0800)
committerDianne Hackborn <hackbod@google.com>
Fri, 14 Nov 2014 01:09:59 +0000 (17:09 -0800)
commita4cff88d80bf1acbdbd063af88ecad83a8b9b7b4
treec7bd2444a30c0843c2a1a83845f252ee02122ed5
parentca69e8f2d0a1fc963bd170f9b2bf164028761323
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
libs/binder/Parcel.cpp
libs/binder/Static.cpp