tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "GOMEZ Henri" <>
Subject RE: mod_jk cache and socket timeout
Date Mon, 24 Jun 2002 15:56:32 GMT
>> >The APR on unix for apr_time_now() uses gettimeofday, and 
>> then we could 
>> >use the timeval's tv_sec, and on WIN32 GetTickCount, since all that 
>> >matters is the time interval.
>> gettimeofday may cost a little bit more and it's not 
>> necessary to have tv_usec for timeout count in seconds or minutes.
>> For example on Linux time() cost 30% less than 
>> gettimeofday(). But Apache 1.3/2.0 allready set time in 
>> request, we need to use it, only IIS/iPlanet will need 
>> GetTicksCount or time()
>Ok, so we need to put that in the service, and assign to the worker.  
>Who's gonna do it?

to be simple we could just use time() and getdifftime for 1.2.0 release.
1.2.1 could use more sophisticated code.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message