(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.78 and 1.79

version 1.78, 2005/03/10 02:06:42 version 1.79, 2005/03/12 01:07:42
Line 249 
Line 249 
 } }
 // l10n end // l10n end
  
 #if 0  
 // two special synchronization classes for ThreadPool  
 //  
   
 class timed_mutex  
 {  
    public:  
       timed_mutex(Mutex* mut, int msec)  
          :_mut(mut)  
       {  
          _mut->timed_lock(msec, pegasus_thread_self());  
       }  
       ~timed_mutex(void)  
       {  
          _mut->unlock();  
       }  
       Mutex* _mut;  
 };  
 #endif  
   
 class try_mutex  
 {  
    public:  
       try_mutex(Mutex* mut)  
          :_mut(mut)  
       {  
          _mut->try_lock(pegasus_thread_self());  
       }  
       ~try_mutex(void)  
       {  
          _mut->unlock();  
       }  
   
       Mutex* _mut;  
 };  
  
 class auto_int class auto_int
 { {


Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2