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()
60 static pthread_t threadHandle = (pthread_t)NULL; variable335 return (pthread_create(&threadHandle, NULL, I2cWorkerThread, *pHandle) == 0); in I2cOpenLayer()348 if (threadHandle == (pthread_t)NULL) { in I2cCloseLayer()355 ret = pthread_join(threadHandle, (void**)NULL); in I2cCloseLayer()359 threadHandle = (pthread_t)NULL; in I2cCloseLayer()