/* $Id$
This file is part of libmspcore
-Copyright © 2006 Mikko Rasa, Mikkosoft Productions
+Copyright © 2006, 2009 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
#ifndef MSP_TIME_TIMER_H_
#define MSP_TIME_TIMER_H_
-#include <set>
+#include <vector>
#include <sigc++/sigc++.h>
#include "../core/mutex.h"
#include "../core/semaphore.h"
bool operator<(const SlotProxy &) const;
};
- std::set<SlotProxy> slots;
+ std::vector<SlotProxy> slots;
Semaphore sem;
Mutex mutex;
Note: If there are no active timers when a blocking tick is executed, it
won't return until a timer is added from another thread.
*/
- void tick(bool block=true);
+ void tick(bool block = true);
TimeStamp get_next_timeout() const;
};