tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45766] watchdog_interval issue in current svn version
Date Wed, 10 Sep 2008 18:59:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45766





--- Comment #1 from zdenek <zdenek@datacrunch.net>  2008-09-10 11:59:06 PST ---
I tested the modification of tail end of init_jk from:

    if (rc) {
        HANDLE wt;
        DWORD  wi;
        wt = CreateThread(NULL, 0, watchdog_thread, NULL, 0, &wi);
        jk_log(logger, JK_LOG_INFO, "%s initialized", (VERSION_STRING) );
    }
    return rc;
}


to:

    if ((rc) && (watchdog_interval)) {
        HANDLE wt;
        DWORD  wi;
        wt = CreateThread(NULL, 0, watchdog_thread, NULL, 0, &wi);
        jk_log(logger, JK_LOG_INFO, "%s initialized", (VERSION_STRING) );
    }
    return rc;

and it appears to work properly. Please review and update code if appropriate.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message