32 printf(
"This program won't work on this platform because there is no "
33 "support for threads.\n");
38#define DEFAULT_MAX_COUNTER 1000000
96 printf(
"apr_thread_mutex_t Tests\n");
97 printf(
"%-60s",
" Initializing the apr_thread_mutex_t (UNNESTED)");
144 printf(
"apr_thread_mutex_t Tests\n");
145 printf(
"%-60s",
" Initializing the apr_thread_mutex_t (NESTED)");
195 printf(
"apr_thread_mutex_t Tests\n");
196 printf(
"%-60s",
" Initializing the apr_thread_mutex_t (TIMED)");
243 printf(
"apr_thread_rwlock_t Tests\n");
244 printf(
"%-60s",
" Initializing the apr_thread_rwlock_t");
290 printf(
"APR Lock Performance Test\n==============\n\n");
299 fprintf(
stderr,
"Could not set up to parse options: [%d] %s\n",
327 fprintf(
stderr,
"thread_mutex (NESTED) test failed : [%d] %s\n",
333 fprintf(
stderr,
"thread_mutex (TIMED) test failed : [%d] %s\n",
APR Miscellaneous library routines.
APR Command Arguments (getopt)
APR Thread Mutex Routines.
APR Thread and Process Library.
APR Reader/Writer Lock Routines.
const char int apr_pool_t * pool
#define apr_pool_create(newpool, parent)
apr_int64_t apr_interval_time_t
#define apr_time_from_sec(sec)
apr_status_t apr_thread_join(apr_status_t *retval, apr_thread_t *thd)
apr_status_t apr_thread_create(apr_thread_t **new, apr_threadattr_t *attr, apr_thread_start_t func, void *data, apr_pool_t *pool)