Lines Matching refs:ok
96 int ok = pthread_mutex_lock(&theOneTrueMutex);
97 assert(0 == ok);
99 ok = pthread_mutex_unlock(&theOneTrueMutex);
100 assert(0 == ok);
349 // Can't get interface on an unrealized object unless pre-realize is ok
528 // destroy. It is OK to unlock the mutex temporarily, as it long as it re-locks the mutex
771 int ok;
772 ok = pthread_mutex_init(&thiz->mMutex, (const pthread_mutexattr_t *) NULL);
773 assert(0 == ok);
780 ok = pthread_cond_init(&thiz->mCond, (const pthread_condattr_t *) NULL);
781 assert(0 == ok);
793 int ok;
794 ok = pthread_cond_destroy(&thiz->mCond);
795 assert(0 == ok);
797 ok = pthread_mutex_unlock(&thiz->mMutex);
798 assert(0 == ok);
799 ok = pthread_mutex_destroy(&thiz->mMutex);
800 assert(0 == ok);