summaryrefslogtreecommitdiff
path: root/libsensors_iio/src/SWGravity.cpp
diff options
context:
space:
mode:
authorSaadi Maalem <saadi.maalem@intel.com>2015-11-11 19:43:28 +0100
committerZhengyin Qian <qianzy@google.com>2015-11-11 14:00:20 -0800
commit6ff827fc04e3b85791eea931904c1236763cbb40 (patch)
tree55e27ac75df0899fc328b4a542fdcf38793f51e0 /libsensors_iio/src/SWGravity.cpp
parentb219170d10f1c119ae79f39271239399cb373760 (diff)
downloadsensors-6ff827fc04e3b85791eea931904c1236763cbb40.tar.gz
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>
Diffstat (limited to 'libsensors_iio/src/SWGravity.cpp')
0 files changed, 0 insertions, 0 deletions