commit | 6ff827fc04e3b85791eea931904c1236763cbb40 | [log] [tgz] |
---|---|---|
author | Saadi Maalem <saadi.maalem@intel.com> | Wed Nov 11 19:43:28 2015 +0100 |
committer | Zhengyin Qian <qianzy@google.com> | Wed Nov 11 14:00:20 2015 -0800 |
tree | 55e27ac75df0899fc328b4a542fdcf38793f51e0 | |
parent | b219170d10f1c119ae79f39271239399cb373760 [diff] |
sensor: poll for POLLOUT event before writing pipe Poll with timeout = -1 for flush complete event and timeout = 1000 for regular sensor event flush requests are tracked with vector. This requires to include stlport. As stlport olverloads pow(), all calls to this function are also modified to avoid ambiguous calls. Change-Id: I4f8bd97289dbc3e18b5fb0911aa84bde4f401ad8 Signed-off-by: Like Yan <like.yan@intel.com>