OSDN Git Service

Reduce lock thrashing in native Looper.
authorJeff Brown <jeffbrown@google.com>
Sat, 18 Sep 2010 00:01:23 +0000 (17:01 -0700)
committerJeff Brown <jeffbrown@google.com>
Sat, 18 Sep 2010 00:01:23 +0000 (17:01 -0700)
commited242de3f5b709e9e0925513ab976886a04358c0
tree032729d139d17e4126e4033522bc942e00d952a7
parente0e09d47718843c75c182b3ad18d1360daef2dac
Reduce lock thrashing in native Looper.

In the common case, there is nothing interesting happening on the native
Looper besides occasional wake ups.  There is no point grabbing the
semaphore then.

Change-Id: Ib5c426d0e158dfa37891b7ff5537b6f833592fad
libs/utils/Looper.cpp