Lines Matching refs:rv
70 apr_status_t rv;
75 rv = apr_thread_mutex_create(&qi->idlers_mutex, APR_THREAD_MUTEX_DEFAULT,
77 if (rv != APR_SUCCESS) {
78 return rv;
80 rv = apr_thread_cond_create(&qi->wait_for_idler, pool);
81 if (rv != APR_SUCCESS) {
82 return rv;
99 apr_status_t rv;
105 rv = apr_thread_mutex_lock(queue_info->idlers_mutex);
106 if (rv != APR_SUCCESS) {
108 return rv;
110 rv = apr_thread_cond_signal(queue_info->wait_for_idler);
111 if (rv != APR_SUCCESS) {
113 return rv;
115 rv = apr_thread_mutex_unlock(queue_info->idlers_mutex);
116 if (rv != APR_SUCCESS) {
117 return rv;
142 apr_status_t rv;
149 rv = apr_thread_mutex_lock(queue_info->idlers_mutex);
150 if (rv != APR_SUCCESS) {
153 return rv;
177 rv = apr_thread_cond_wait(queue_info->wait_for_idler,
179 if (rv != APR_SUCCESS) {
186 return rv;
189 rv = apr_thread_mutex_unlock(queue_info->idlers_mutex);
190 if (rv != APR_SUCCESS) {
191 return rv;
282 apr_status_t rv;
283 rv = apr_thread_mutex_lock(queue_info->idlers_mutex);
284 if (rv != APR_SUCCESS) {
285 return rv;
328 apr_status_t rv;
330 if ((rv = apr_thread_mutex_create(&queue->one_big_mutex,
333 return rv;
335 if ((rv = apr_thread_cond_create(&queue->not_empty, a)) != APR_SUCCESS) {
336 return rv;
367 apr_status_t rv;
369 if ((rv = apr_thread_mutex_lock(queue->one_big_mutex)) != APR_SUCCESS) {
370 return rv;
387 if ((rv = apr_thread_mutex_unlock(queue->one_big_mutex)) != APR_SUCCESS) {
388 return rv;
396 apr_status_t rv;
398 if ((rv = apr_thread_mutex_lock(queue->one_big_mutex)) != APR_SUCCESS) {
399 return rv;
408 if ((rv = apr_thread_mutex_unlock(queue->one_big_mutex)) != APR_SUCCESS) {
409 return rv;
426 apr_status_t rv;
428 if ((rv = apr_thread_mutex_lock(queue->one_big_mutex)) != APR_SUCCESS) {
429 return rv;
439 rv = apr_thread_mutex_unlock(queue->one_big_mutex);
440 if (rv != APR_SUCCESS) {
441 return rv;
473 rv = apr_thread_mutex_unlock(queue->one_big_mutex);
474 return rv;
479 apr_status_t rv;
481 if ((rv = apr_thread_mutex_lock(queue->one_big_mutex)) != APR_SUCCESS) {
482 return rv;
490 apr_status_t rv;
492 if ((rv = apr_thread_mutex_lock(queue->one_big_mutex)) != APR_SUCCESS) {
493 return rv;
500 if ((rv = apr_thread_mutex_unlock(queue->one_big_mutex)) != APR_SUCCESS) {
501 return rv;