Lines Matching refs:result
45 int result;
61 result = ptw32_rwlock_check_need_init (rwlock);
63 if (result != 0 && result != EBUSY)
65 return result;
76 if ((result = pthread_mutex_lock (&(rwl->mtxExclusiveAccess))) != 0)
78 return result;
81 if ((result = pthread_mutex_lock (&(rwl->mtxSharedAccessCompleted))) != 0)
84 return result;
110 result = pthread_cond_wait (&(rwl->cndSharedAccessCompleted),
113 while (result == 0 && rwl->nCompletedSharedAccessCount < 0);
115 pthread_cleanup_pop ((result != 0) ? 1 : 0);
120 if (result == 0)
127 if (result == 0)
132 return result;