Ticket #8222: verify8222.cpp
| File verify8222.cpp, 463 bytes (added by Wenduo Zhou, 7 years ago) |
|---|
| Line | |
|---|---|
| 1 | // -------------------------------------------------------------------------- |
| 2 | /** Sort events by Frame */ |
| 3 | void EventList::sortPulseTime() const |
| 4 | { |
| 5 | // if (this->order == PULSETIME_SORT) |
| 6 | // return; // nothing to do |
| 7 | |
| 8 | // Avoid sorting from multiple threads |
| 9 | Poco::ScopedLock<Mutex> _lock(m_sortMutex); |
| 10 | // If the list was sorted while waiting for the lock, return. |
| 11 | //if (this->order == PULSETIME_SORT) |
| 12 | // return; |
| 13 | |
| 14 | ... ... |
| 15 | |
| 16 | } |
