Project

General

Profile

Revision 6b81f4fa

ID6b81f4fafff5ffac207f2c50c6c06151496fbc4e

Added by Simon Tenbusch about 9 years ago

[eefscheduler] added eefscheduler support for NOBARRIER, fixed bug with duration:
- one has to make sure that getProcessingDelay() is only called exactly once per simulation of an event. Otherwise timings with random processing delays get mixed up.

View differences:

include/cthreadpool.h
143 143
     * Inserts a new task in the task queue. Internal use only.
144 144
     */
145 145
    virtual void insertTask(cMessage* msg, simtime_t duration) = 0;
146

  
147
    /**
148
     * Used by cSpinningThreadpool
149
     * Returns true if msg is scheduled before the minimal Barrier (barrierMin).
150
     * Returns false otherwise.
151
     */
152
    virtual bool isBeforeBarrier(cMessage* msg) = 0;
146 153
    //}@
147 154
};
148 155

  

Also available in: Unified diff