Searched refs:mSem (Results 1 – 3 of 3) sorted by relevance
22 if (sem_init(&mSem, 0, count) != 0) { in Semaphore()29 sem_destroy(&mSem); in ~Semaphore()34 sem_trywait(&mSem); in tryWait()39 if (sem_wait(&mSem) == 0) { in wait()69 if (sem_timedwait(&mSem, &timeNew) == 0) { in timedWait()78 sem_post(&mSem); in post()
42 private final Semaphore mSem = new Semaphore(0); field in GlPlanetsActivity52 return mSem.tryAcquire(timeoutInSecs, TimeUnit.SECONDS); in waitForGlPlanetsCompletionWithTimeout()103 mSem.release(); in onRenderCompletion()
44 sem_t mSem;