diff options
Diffstat (limited to 'test/globalmutexchild.c')
-rw-r--r-- | test/globalmutexchild.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/globalmutexchild.c b/test/globalmutexchild.c index 4b8737b02..d5149fb46 100644 --- a/test/globalmutexchild.c +++ b/test/globalmutexchild.c @@ -37,7 +37,7 @@ int main(int argc, const char * const argv[]) apr_initialize(); atexit(apr_terminate); - + apr_pool_create(&p, NULL); if (argc >= 2) { mech = (apr_lockmech_e)apr_strtoi64(argv[1], NULL, 0); @@ -50,7 +50,7 @@ int main(int argc, const char * const argv[]) exit(-rv); } apr_global_mutex_child_init(&global_lock, LOCKNAME, p); - + while (1) { apr_global_mutex_lock(global_lock); if (i == MAX_ITER) { |