(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.5 and 1.6

version 1.5, 2001/12/25 08:26:09 version 1.6, 2001/12/28 17:15:37
Line 60 
Line 60 
     {     {
         _cleanup.insert_first(cu);         _cleanup.insert_first(cu);
     }     }
     catch(IPCException& e)      catch(IPCException&)
     {     {
         delete cu;         delete cu;
         throw;         throw;
Line 75 
Line 75 
     {     {
         cu = _cleanup.remove_first() ;         cu = _cleanup.remove_first() ;
     }     }
     catch(IPCException& e)      catch(IPCException&)
     {     {
         PEGASUS_ASSERT(0);         PEGASUS_ASSERT(0);
      }      }
Line 100 
Line 100 
        {        {
            cleanup_pop(true);            cleanup_pop(true);
        }        }
        catch(IPCException& e)         catch(IPCException&)
        {        {
           PEGASUS_ASSERT(0);           PEGASUS_ASSERT(0);
           break;           break;
Line 216 
Line 216 
       deadlock_timer = (struct timeval *)myself->reference_tsd("deadlock timer");       deadlock_timer = (struct timeval *)myself->reference_tsd("deadlock timer");
       myself->dereference_tsd();       myself->dereference_tsd();
    }    }
    catch(IPCException & e)     catch(IPCException &)
    {    {
       myself->exit_self(0);       myself->exit_self(0);
    }    }
Line 242 
Line 242 
          parm = myself->reference_tsd("work parm");          parm = myself->reference_tsd("work parm");
          myself->dereference_tsd();          myself->dereference_tsd();
       }       }
       catch(IPCException & e)        catch(IPCException &)
       {       {
          myself->exit_self(0);          myself->exit_self(0);
       }       }
Line 258 
Line 258 
          pool->_running.remove((void *)myself);          pool->_running.remove((void *)myself);
          pool->_link_pool(myself);          pool->_link_pool(myself);
       }       }
       catch(IPCException & e)        catch(IPCException &)
       {       {
          myself->exit_self(0);          myself->exit_self(0);
       }       }
Line 297 
Line 297 
             th = _pool.remove_first();             th = _pool.remove_first();
          }          }
       }       }
       catch(TimeOut & to)        catch(TimeOut &)
       {       {
          if(_current_threads < _max_threads)          if(_current_threads < _max_threads)
          {          {
Line 390 
Line 390 
          {          {
             q->try_lock();             q->try_lock();
          }          }
          catch(AlreadyLocked & a)           catch(AlreadyLocked &)
          {          {
             q++;             q++;
             continue;             continue;
Line 406 
Line 406 
             {             {
                dtp = (struct timeval *)th->try_reference_tsd("deadlock timer");                dtp = (struct timeval *)th->try_reference_tsd("deadlock timer");
             }             }
             catch(AlreadyLocked & a)              catch(AlreadyLocked &)
             {             {
                th = q->next(th);                th = q->next(th);
                continue;                continue;


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2