(file) Return to ListenerService.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / DynListener

Diff for /pegasus/src/Pegasus/DynListener/ListenerService.cpp between version 1.15 and 1.16

version 1.15, 2006/09/13 20:57:39 version 1.16, 2006/09/15 18:06:12
Line 33 
Line 33 
  
 #include <Pegasus/Common/Config.h> #include <Pegasus/Common/Config.h>
 #include <Pegasus/Common/System.h> #include <Pegasus/Common/System.h>
   #include <Pegasus/Common/Time.h>
  
 #include "ListenerService.h" #include "ListenerService.h"
  
Line 229 
Line 230 
          listenerService->_monitor->run(30000);          listenerService->_monitor->run(30000);
          static struct timeval lastIdleCleanupTime = {0, 0};          static struct timeval lastIdleCleanupTime = {0, 0};
          struct timeval now;          struct timeval now;
          gettimeofday(&now, 0);           Time::gettimeofday(&now);
          if (now.tv_sec - lastIdleCleanupTime.tv_sec > 300)          if (now.tv_sec - lastIdleCleanupTime.tv_sec > 300)
          {          {
              lastIdleCleanupTime.tv_sec = now.tv_sec;              lastIdleCleanupTime.tv_sec = now.tv_sec;


Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2