Changeset 4835 for source


Ignore:
Timestamp:
Jul 9, 2009, 1:48:25 PM (15 years ago)
Author:
Christoph Mayer
Message:

timer fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/system/Timer.cpp

    r4828 r4835  
    109109
    110110                try{
     111
    111112                        boost::this_thread::sleep( boost::posix_time::milliseconds(obj->millis) );
     113                        if (obj->running)
     114                                SystemQueue::instance().scheduleEvent( SystemEvent( obj, TimerEventType, NULL), 0 );
     115
    112116                }catch(boost::thread_interrupted e){
    113117                        // exception called when Timer::reset is called
     
    115119                }
    116120
    117                 if (obj->running) SystemQueue::instance().scheduleEvent( SystemEvent( obj, TimerEventType, NULL), 0 );
    118121                if( obj->oneshot ) break;
    119122        }
Note: See TracChangeset for help on using the changeset viewer.