OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AcquisitionThread
(Results
1 - 2
of
2
) sorted by null
/hardware/bsp/intel/peripheral/sensors/mraa/
AcquisitionThread.cpp
22
#include "
AcquisitionThread
.hpp"
25
void*
AcquisitionThread
::acquisitionRoutine(void *param) {
26
AcquisitionThread
*
acquisitionThread
= reinterpret_cast<
AcquisitionThread
*>(param);
33
if (
acquisitionThread
== nullptr) {
38
sensor =
acquisitionThread
->sensor;
50
pthread_mutex_lock(&
acquisitionThread
->pthreadMutex);
56
while(
acquisitionThread
->getWritePipeFd() != -1) {
64
rc = write(
acquisitionThread
->getWritePipeFd(), &data, sizeof(sensors_event_t))
[
all
...]
AcquisitionThread.hpp
26
*
AcquisitionThread
is used for implementing sensors polling
37
class
AcquisitionThread
{
40
*
AcquisitionThread
constructor
44
AcquisitionThread
(int pollFd, Sensor *sensor);
49
~
AcquisitionThread
();
Completed in 58 milliseconds