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

Diff for /pegasus/src/Pegasus/Common/Thread.cpp between version 1.33 and 1.34

version 1.33, 2003/03/20 15:44:43 version 1.34, 2003/03/20 15:51:27
Line 462 
Line 462 
    // first go thread the dead q and clean it up as much as possible    // first go thread the dead q and clean it up as much as possible
    while(_dead.count() > 0)    while(_dead.count() > 0)
    {    {
         Tracer::trace(TRC_THREAD, Tracer::LEVEL4, "ThreadPool:: removing and joining dead thread");
 #if !defined(PEGASUS_PLATFORM_HPUX_ACC) && !defined(PEGASUS_PLATFORM_LINUX_IA64_GNU)  
       PEGASUS_STD(cout) << "ThreadPool:: removing and joining dead thread" << PEGASUS_STD(endl);  
 #endif  
       Thread *dead = _dead.remove_first();       Thread *dead = _dead.remove_first();
       if(dead == 0)       if(dead == 0)
          throw NullPointer();          throw NullPointer();
Line 600 
Line 597 
                   else                   else
                   {                   {
                      // deadlocked threads                      // deadlocked threads
 #if !defined(PEGASUS_PLATFORM_HPUX_ACC) && !defined(PEGASUS_PLATFORM_LINUX_IA64_GNU)                       Tracer::trace(TRC_THREAD, Tracer::LEVEL4, "Killing a deadlocked thread");
                      PEGASUS_STD(cout) << "Killing a deadlocked thread" << PEGASUS_STD(endl);  
 #endif  
                      th->cancel();                      th->cancel();
                      delete th;                      delete th;
                   }                   }


Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2