Lines Matching refs:stat
29 apr_status_t stat;
31 stat = pthread_rwlock_destroy(&rwlock->rwlock);
33 if (stat) {
34 stat = errno;
37 return stat;
44 apr_status_t stat;
49 if ((stat = pthread_rwlock_init(&new_rwlock->rwlock, NULL))) {
51 stat = errno;
53 return stat;
66 apr_status_t stat;
68 stat = pthread_rwlock_rdlock(&rwlock->rwlock);
70 if (stat) {
71 stat = errno;
74 return stat;
79 apr_status_t stat;
81 stat = pthread_rwlock_tryrdlock(&rwlock->rwlock);
83 if (stat) {
84 stat = errno;
88 if (stat == EBUSY)
89 stat = APR_EBUSY;
90 return stat;
95 apr_status_t stat;
97 stat = pthread_rwlock_wrlock(&rwlock->rwlock);
99 if (stat) {
100 stat = errno;
103 return stat;
108 apr_status_t stat;
110 stat = pthread_rwlock_trywrlock(&rwlock->rwlock);
112 if (stat) {
113 stat = errno;
117 if (stat == EBUSY)
118 stat = APR_EBUSY;
119 return stat;
124 apr_status_t stat;
126 stat = pthread_rwlock_unlock(&rwlock->rwlock);
128 if (stat) {
129 stat = errno;
132 return stat;