Changeset 12761 for source


Ignore:
Timestamp:
Mar 12, 2014, 6:09:20 PM (10 years ago)
Author:
hock@…
Message:

New System Queue:

The new System Queue already passes most tests that do not contain delayed calls.

[ But it's (abviously) not ready for productive use, yet. ]

Location:
source/ariba/utility
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/logging/Logging.h

    r12060 r12761  
    9696  #define logging_stdout(x) std::cout << x << std::endl;
    9797
    98   static int __loglevel__ = 2; //default is info
    99 // static int __loglevel__ = 1; // XXX use higher log level
     98//   static int __loglevel__ = 2; //default is info
     99 static int __loglevel__ = 1; // XXX use higher log level
    100100
    101101  #define logging_trace(x)  {                                   logging_stdout(x);                }
  • source/ariba/utility/system/SystemEvent.h

    r6919 r12761  
    6464        // private class that accesses these variables. Therefore they are public for now.
    6565        ptime scheduledTime; //< time the event was originally given to the queue
     66        ptime deadline; //< time when the event should be executed  TODO Mario
    6667        uint32_t delayTime; //< time the event is scheduled at, or 0 if it is to be fired immediately
    6768        uint32_t remainingDelay; //< remaining delay time for sleeping
Note: See TracChangeset for help on using the changeset viewer.