OSDN Git Service

Add HWCEvent to handle signalling of HWCThread.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 8 Mar 2017 19:13:35 +0000 (11:13 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Mon, 13 Mar 2017 17:48:14 +0000 (10:48 -0700)
commit1f496ca60ba4b0a5099ccebb51d17fcdc9ac5a41
treec1a3d751cdfcf3c9ee5d891e43e951dcc00e677e
parent43307590db30e9e0aadc73b32680e4f4fd37f138
Add HWCEvent to handle signalling of HWCThread.

This class uses linux eventfd() to handle events and signal when the
HWCThread should wake up.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Android.mk
Makefile.sources
common/utils/hwcevent.cpp [new file with mode: 0644]
common/utils/hwcevent.h [new file with mode: 0644]
common/utils/hwcthread.cpp
common/utils/hwcthread.h