X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=inline;f=otk%2Ftimer.cc;h=ceee8f2a2c57abc9488a8342c4ed3e0969e98bd8;hb=64ac7d053748494b3a8d0be9f1d55f6f5b9f1a90;hp=d6bd1ee3d436810c13bf4bbfb909aa37bb5a851c;hpb=3e82959514b2f638fcdc153496cc298075b7be9a;p=chaz%2Fopenbox diff --git a/otk/timer.cc b/otk/timer.cc index d6bd1ee3..ceee8f2a 100644 --- a/otk/timer.cc +++ b/otk/timer.cc @@ -63,8 +63,9 @@ void Timer::dispatchTimers(bool wait) while (!_q.empty()) { curr = _q.top(); - /* since we overload the destructor to keep from removing from the middle of - the priority queue, set _del_me, we have to do our real delete in here. + /* since we overload the destructor to keep from removing from the middle + of the priority queue, set _del_me, we have to do our real delete in + here. */ if (curr->_del_me) { _q.pop(); @@ -77,9 +78,9 @@ void Timer::dispatchTimers(bool wait) if (!timercmp(&_now, &_nearest_timeout, >)) break; - /* we set the last fired time to delay msec after the previous firing, then - re-insert. timers maintain their order and may trigger more than once if - they've waited more than one delay's worth of time. + /* we set the last fired time to delay msec after the previous firing, then + re-insert. timers maintain their order and may trigger more than once + if they've waited more than one delay's worth of time. */ _q.pop(); timevalAdd(curr->_last, curr->_delay);