Rainer Jung wrote:
-static int JK_METHOD maintain_workers(jk_worker_t *p, jk_logger_t *l) +static int JK_METHOD maintain_workers(jk_worker_t *p, time_t now, jk_logger_t *l)
 {
     unsigned int i = 0;
     jk_uint64_t curmax = 0;
     long delta;
-    time_t now = time(NULL);
-    JK_TRACE_ENTER(l);
+    now = time(NULL);
Shouldn't we also drop this last line?


Yes we should. That was the point of having a single
call for time(NULL). Since its resolution is in seconds,
IMHO we are safe with any CPU > 1 MHz :)

Regards,
Mladen.

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

Reply via email to