Searched refs:_semaphore_ (Results 1 – 1 of 1) sorted by relevance
1291 #define VIDDEC_PTHREAD_SEMAPHORE_INIT(_semaphore_) \ argument1292 if(!((_semaphore_).bInitialized)) { \1293 sem_init (&((_semaphore_).sSemaphore), 0, 0); \1294 (_semaphore_).bInitialized = OMX_TRUE; \1295 (_semaphore_).bEnabled = OMX_FALSE; \1296 (_semaphore_).bSignaled = OMX_FALSE; \1299 #define VIDDEC_PTHREAD_SEMAPHORE_DESTROY(_semaphore_) \ argument1300 if((_semaphore_).bInitialized) { \1301 sem_destroy (&(_semaphore_).sSemaphore); \1302 (_semaphore_).bInitialized = OMX_FALSE; \[all …]