Performance fixes.

This commit is contained in:
Gunnar Beutner 2012-06-18 01:29:02 +02:00
parent f64b649339
commit 86ffd15eb9
2 changed files with 2 additions and 4 deletions

View File

@ -12,7 +12,7 @@ public:
typedef function<void()> Task;
ThreadPool(long numThreads = 16);
ThreadPool(long numThreads = 64);
~ThreadPool(void);
static ThreadPool::Ptr GetDefaultPool(void);

View File

@ -131,8 +131,6 @@ void Timer::Start(void)
Stop();
Timers.push_back(GetSelf());
Reschedule(time(NULL) + m_Interval);
}
/**