(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.29 and 1.30

version 1.29, 2005/03/10 00:38:21 version 1.30, 2005/04/01 17:26:54
Line 217 
Line 217 
       {       {
              //MessageQueueService::_check_idle_flag = 1;              //MessageQueueService::_check_idle_flag = 1;
                  //MessageQueueService::_polling_sem.signal();                  //MessageQueueService::_polling_sem.signal();
                  MessageQueueService::get_thread_pool()->kill_idle_threads();                   MessageQueueService::get_thread_pool()->cleanupIdleThreads();
       }       }
           catch(...)           catch(...)
       {       {
Line 312 
Line 312 
  
   return 0;   return 0;
 } }
 static struct timeval create_time = {0, 1};  
 static struct timeval destroy_time = {15, 0};  
  
 ///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
 // CIMListenerRep // CIMListenerRep
Line 424 
Line 422 
       throw;       throw;
     }     }
  
     _thread_pool = new ThreadPool(0, "Listener", 0, 1,      struct timeval deallocateWait = {15, 0};
                                   create_time, destroy_time);      _thread_pool = new ThreadPool(0, "Listener", 0, 1, deallocateWait);
  
     _listener_sem = new Semaphore(0);     _listener_sem = new Semaphore(0);
     _thread_pool->allocate_and_awaken(svc,     _thread_pool->allocate_and_awaken(svc,


Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2