OSDN Git Service

Add new Looper API to check whether the looper is idle.
authorDianne Hackborn <hackbod@google.com>
Mon, 6 May 2013 21:25:20 +0000 (14:25 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 7 May 2013 22:05:34 +0000 (15:05 -0700)
commitffad7d1fdc8297df8285f16592f6f2ec3cab9828
tree1b8e0c6d81346c2a0f30b88d0949fd814248ea87
parent779434378ee7ca43800a7c7d949c1433c39736fc
Add new Looper API to check whether the looper is idle.

This is just to support the watchdog to give it a faster
way to determine if a thread is deadlocked without having
to post a message to it.

Change-Id: I068dc8b9387caf94fe5811fb4aeb0f9b57b1a080
include/utils/Looper.h
libs/utils/Looper.cpp