Home
last modified time | relevance | path

Searched refs:threadHandle (Results 1 – 2 of 2) sorted by relevance

/hardware/st/nfc/1.0/adaptation/
Di2clayer.c53 static pthread_t threadHandle = (pthread_t)NULL; variable
258 return (pthread_create(&threadHandle, NULL, I2cWorkerThread, *pHandle) == 0); in I2cOpenLayer()
272 if (threadHandle == (pthread_t)NULL) in I2cCloseLayer()
277 ret = pthread_join(threadHandle,(void**)NULL); in I2cCloseLayer()
281 threadHandle = (pthread_t)NULL; in I2cCloseLayer()
/hardware/st/nfc/st21nfc/adaptation/
Di2clayer.cc58 static pthread_t threadHandle = (pthread_t)NULL; variable
323 return (pthread_create(&threadHandle, NULL, I2cWorkerThread, *pHandle) == 0); in I2cOpenLayer()
336 if (threadHandle == (pthread_t)NULL) { in I2cCloseLayer()
343 ret = pthread_join(threadHandle, (void**)NULL); in I2cCloseLayer()
347 threadHandle = (pthread_t)NULL; in I2cCloseLayer()