jean-frederic clere wrote:
Mladen Turk wrote:
jean-frederic clere wrote:
Mladen Turk wrote:
jean-frederic clere wrote:
[EMAIL PROTECTED] wrote:
Author: mturk
Date: Wed Apr 16 05:37:22 2008
New Revision: 648682

URL: http://svn.apache.org/viewvc?rev=648682&view=rev
Log:
Add watchdog thread to Apache 2. It creates additional thread in child process if set for unatended maintenance of the workers

Modified:
    tomcat/connectors/trunk/jk/native/apache-2.0/mod_jk.c
    tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
    tomcat/connectors/trunk/jk/xdocs/reference/apache.xml


What happens the maintenance occurs when processing a request.


The same thing as it happens right now with concurrent
requests.

won't moving JK_LEAVE_CS after the ae->last_access = now; in ajp_get_endpoint() be enough to prevent the problem?


what problem?

We are going to have a endpoint used by 2 threads at the same time that is bad, no?


I don't think we'll have.
Watchdog thread here behaves just like any concurrent
request, so if we don't have contention between
concurrent requests we won't have with the watchdog
thread neither thought.

Cheers
--
(TM)


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

Reply via email to