Lines Matching defs:mech
24 static void launch_child(abts_case *tc, apr_lockmech_e mech,
42 args[1] = (const char*)apr_itoa(p, (int)mech);
62 static const char *mutexname(apr_lockmech_e mech)
64 switch (mech) {
77 apr_lockmech_e mech = *(apr_lockmech_e *)data;
83 abts_log_message(mutexname(mech));
85 rv = apr_global_mutex_create(&global_lock, LOCKNAME, mech, p);
88 launch_child(tc, mech, &p1, p);
89 launch_child(tc, mech, &p2, p);
90 launch_child(tc, mech, &p3, p);
91 launch_child(tc, mech, &p4, p);
101 mutexname(mech), x, MAX_COUNTER);
108 apr_lockmech_e mech = APR_LOCK_DEFAULT;
111 abts_run_test(suite, test_exclusive, &mech);
113 mech = APR_LOCK_POSIXSEM;
114 abts_run_test(suite, test_exclusive, &mech);
117 mech = APR_LOCK_SYSVSEM;
118 abts_run_test(suite, test_exclusive, &mech);
121 mech = APR_LOCK_PROC_PTHREAD;
122 abts_run_test(suite, test_exclusive, &mech);
125 mech = APR_LOCK_FCNTL;
126 abts_run_test(suite, test_exclusive, &mech);
129 mech = APR_LOCK_FLOCK;
130 abts_run_test(suite, test_exclusive, &mech);