* test/testthread.c: Use a user-range apr_status_t value for the test thread exit code. (thread_func1): Exit if mutex lock/unlock fails.