Project

General

Profile

Revision 94cf1056

ID94cf105604c3e520a475ac6a576575f4695eb5ec

Added by Simon Tenbusch over 9 years ago

[eefscheduler] bugfix with barriermsgs and sequential scheduling:
- the processingDuration was not set correctly everytime
- also now eefscheduler is deleting outdated barriers -> IES may get larger

View differences:

include/cbarriermessage.h
45 45
  private:
46 46
    // the semaphore used to block the calling thread on calling wait()
47 47
    sem_t sem;
48
    bool valid; //set to false if barrier has already been signaled
48 49

  
49 50
  public:
50 51
    /** @name Constructor and destructor and stuff */
......
128 129
    inline void signal()
129 130
    {
130 131
        sem_post(&sem);
132
        valid = false;
133
    }
134

  
135
    inline bool isValid() {
136
        return valid;
131 137
    }
132 138
    //@}
133 139
};

Also available in: Unified diff