DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17991>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17991

apr_thread_create hangs on Linux

           Summary: apr_thread_create hangs on Linux
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: APR
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


apr_thread_create call never returns. The thread is created and started. I get 
the same behaviour if I use pthread_create. 

void mod_my_child_init(apr_pool_t* pchild, server_rec* s)
{
        Configuration* config = (Configuration*) ap_get_module_config(s-
>module_config, &my_module);

        int status = apr_thread_create(&config->thread, NULL, 
(apr_thread_start_t) ApacheThread, NULL, pchild);
        if (OK != status)
        {
                ap_log_error(APLOG_MARK, APLOG_EMERG, status, s, "Failed to 
create apache thread");
                exit(APEXIT_CHILDFATAL);
        }
}

Apache version 2.0.44
Linux RedHat 8.0

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to