Lines Matching refs:rv
38 apr_status_t rv;
46 rv = apr_queue_pop(queue, &v);
48 if (rv == APR_EINTR)
51 if (rv == APR_EOF)
55 ABTS_TRUE(tc, rv == APR_SUCCESS);
67 apr_status_t rv;
74 rv = apr_queue_push(queue, NULL);
76 if (rv == APR_EINTR)
79 if (rv == APR_EOF)
82 ABTS_TRUE(tc, rv == APR_SUCCESS);
93 apr_status_t rv;
99 rv = apr_queue_create(&queue, QUEUE_SIZE, p);
100 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
102 rv = apr_thread_pool_create(&thrp, 0, NUMBER_CONSUMERS + NUMBER_PRODUCERS, p);
103 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
106 rv = apr_thread_pool_push(thrp, consumer, tc, 0, NULL);
107 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
111 rv = apr_thread_pool_push(thrp, producer, tc, 0, NULL);
112 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
117 rv = apr_queue_term(queue);
118 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
120 rv = apr_thread_pool_destroy(thrp);
121 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);