(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.41 and 1.41.2.1

version 1.41, 2006/07/07 14:43:46 version 1.41.2.1, 2006/07/27 23:12:05
Line 119 
Line 119 
     */     */
     Uint32 getPortNumber() const;     Uint32 getPortNumber() const;
  
     static PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL      static ThreadReturnType PEGASUS_THREAD_CDECL
     _listener_routine(void *param);     _listener_routine(void *param);
  
 private: private:
Line 305 
Line 305 
     return (portNumber);     return (portNumber);
 } }
  
 PEGASUS_THREAD_RETURN PEGASUS_THREAD_CDECL  ThreadReturnType PEGASUS_THREAD_CDECL
 CIMListenerService::_listener_routine(void *param) CIMListenerService::_listener_routine(void *param)
 { {
     CIMListenerService *svc = reinterpret_cast < CIMListenerService * >(param);     CIMListenerService *svc = reinterpret_cast < CIMListenerService * >(param);
Line 333 
Line 333 
     // _dieNow to true and called Monitor::tickle(). We must wait until we     // _dieNow to true and called Monitor::tickle(). We must wait until we
     // can obtain the _monitorMutex, indicating that we are no longer inside     // can obtain the _monitorMutex, indicating that we are no longer inside
     // Monitor::tickle().     // Monitor::tickle().
     svc->_monitorMutex.lock(pegasus_thread_self());      svc->_monitorMutex.lock(Threads::self());
     svc->_monitorMutex.unlock();     svc->_monitorMutex.unlock();
     delete svc;     delete svc;
  
Line 555 
Line 555 
     {     {
         reqCount = _svc->getOutstandingRequestCount();         reqCount = _svc->getOutstandingRequestCount();
         if (reqCount > 0)         if (reqCount > 0)
             pegasus_sleep(100);              Threads::sleep(100);
         else         else
             return true;             return true;
     }     }


Legend:
Removed from v.1.41  
changed lines
  Added in v.1.41.2.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2