reversed.
This may have broken the Unix threaded mpm's when they started using the
bogus "set" function. A likely symptom would be failure to stop a threaded
process cleanly.
Note: it appears these functions are essentially no-ops except in Unix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88805
13f79535-47bb-0310-9956-
ffa450edef68
NULL, pchild);
apr_threadattr_create(&worker_thread_attr, pchild);
- apr_threadattr_detach_set(worker_thread_attr);
+ apr_threadattr_detach_set(worker_thread_attr, 1);
apr_create_signal_thread(&thread, worker_thread_attr, check_signal, pchild);
/* We are creating worker threads right now */
NULL, pchild);
apr_threadattr_create(&worker_thread_attr, pchild);
- apr_threadattr_detach_set(worker_thread_attr);
+ apr_threadattr_detach_set(worker_thread_attr, 1);
apr_create_signal_thread(&thread, worker_thread_attr, check_signal, pchild);
/* We are creating worker threads right now */
apr_lock_create(&pipe_of_death_mutex, APR_MUTEX, APR_INTRAPROCESS,
NULL, pchild);
apr_threadattr_create(&thread_attr, pchild);
- apr_threadattr_detach_set(thread_attr);
+ apr_threadattr_detach_set(thread_attr, 1);
rv = apr_create_signal_thread(&thread, thread_attr, check_signal, pchild);
if (rv != APR_SUCCESS) {