Searched refs:threadHandle (Results 1 – 2 of 2) sorted by relevance
53 static pthread_t threadHandle = (pthread_t)NULL; variable258 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()
58 static pthread_t threadHandle = (pthread_t)NULL; variable323 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()