Ignore:
Timestamp:
Oct 11, 2013, 5:10:15 PM (11 years ago)
Author:
hock@…
Message:

moved SystemQueue::instance() into cpp:
fixes some weird issues in some corner cases.
(e.g. strange compiler settings in application which links to libariba..)

File:
1 edited

Legend:

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

    r12060 r12524  
    5353}
    5454
     55
     56SystemQueue& SystemQueue::instance()
     57{
     58        static SystemQueue _inst;
     59//      std::cout << "SystemQueue::instance: " << &_inst << std::endl;
     60        return _inst;
     61}
     62
     63
    5564void SystemQueue::scheduleEvent( const SystemEvent& event, uint32_t delay ) {
    5665#ifndef UNDERLAY_OMNET
     
    92101
    93102void SystemQueue::run() {
    94 #ifndef UNDERLAY_OMNET
    95103        systemQueueRunning = true;
    96104        directScheduler.run();
    97105        delayScheduler.run();
    98 #endif
    99106}
    100107
Note: See TracChangeset for help on using the changeset viewer.