Changeset 4835 for source/ariba
- Timestamp:
- Jul 9, 2009, 1:48:25 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/utility/system/Timer.cpp
r4828 r4835 109 109 110 110 try{ 111 111 112 boost::this_thread::sleep( boost::posix_time::milliseconds(obj->millis) ); 113 if (obj->running) 114 SystemQueue::instance().scheduleEvent( SystemEvent( obj, TimerEventType, NULL), 0 ); 115 112 116 }catch(boost::thread_interrupted e){ 113 117 // exception called when Timer::reset is called … … 115 119 } 116 120 117 if (obj->running) SystemQueue::instance().scheduleEvent( SystemEvent( obj, TimerEventType, NULL), 0 );118 121 if( obj->oneshot ) break; 119 122 }
Note:
See TracChangeset
for help on using the changeset viewer.