> -----Original Message----- > From: GOMEZ Henri [mailto:[EMAIL PROTECTED]] > Sent: 24. lipanj 2002 17:33 > To: Tomcat Developers List > Subject: RE: mod_jk cache and socket timeout > > > >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? MT. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>