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

Diff for /pegasus/src/Pegasus/Listener/CIMListener.cpp between version 1.43 and 1.46

version 1.43, 2006/09/13 20:57:40 version 1.46, 2006/12/01 22:40:26
Line 38 
Line 38 
 #include <Pegasus/Common/HTTPAcceptor.h> #include <Pegasus/Common/HTTPAcceptor.h>
 #include <Pegasus/Common/PegasusVersion.h> #include <Pegasus/Common/PegasusVersion.h>
 #include <Pegasus/Common/MessageLoader.h> #include <Pegasus/Common/MessageLoader.h>
   #include <Pegasus/Common/Time.h>
 #include <Pegasus/ExportServer/CIMExportResponseEncoder.h> #include <Pegasus/ExportServer/CIMExportResponseEncoder.h>
 #include <Pegasus/ExportServer/CIMExportRequestDecoder.h> #include <Pegasus/ExportServer/CIMExportRequestDecoder.h>
 #include <Pegasus/Consumer/CIMIndicationConsumer.h> #include <Pegasus/Consumer/CIMIndicationConsumer.h>
Line 210 
Line 211 
         _monitor->run(500000);         _monitor->run(500000);
         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;
Line 307 
Line 308 
         // svc->init(); bug 1394         // svc->init(); bug 1394
         while (!svc->terminated())         while (!svc->terminated())
         {         {
 #if defined(PEGASUS_PLATFORM_DARWIN_PPC_GNU)  #if defined(PEGASUS_OS_DARWIN)
             pthread_testcancel();             pthread_testcancel();
 #endif #endif
             svc->runForever();             svc->runForever();
Line 449 
Line 450 
             != PEGASUS_THREAD_OK)             != PEGASUS_THREAD_OK)
         {         {
             Logger::put(             Logger::put(
                 Logger::STANDARD_LOG, System::CIMSERVER,                  Logger::STANDARD_LOG, System::CIMLISTENER,
                 Logger::TRACE,                 Logger::TRACE,
                 "Not enough threads to start CIMListernerService.");                 "Not enough threads to start CIMListernerService.");
  


Legend:
Removed from v.1.43  
changed lines
  Added in v.1.46

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2