mirror of https://github.com/Icinga/icinga2.git
Merge branch 'master' of github.com:gunnarbeutner/strawberry
This commit is contained in:
commit
f41032e69b
|
@ -12,7 +12,7 @@ public:
|
||||||
|
|
||||||
typedef function<void()> Task;
|
typedef function<void()> Task;
|
||||||
|
|
||||||
ThreadPool(long numThreads = 16);
|
ThreadPool(long numThreads = 64);
|
||||||
~ThreadPool(void);
|
~ThreadPool(void);
|
||||||
|
|
||||||
static ThreadPool::Ptr GetDefaultPool(void);
|
static ThreadPool::Ptr GetDefaultPool(void);
|
||||||
|
|
|
@ -131,8 +131,6 @@ void Timer::Start(void)
|
||||||
Stop();
|
Stop();
|
||||||
|
|
||||||
Timers.push_back(GetSelf());
|
Timers.push_back(GetSelf());
|
||||||
|
|
||||||
Reschedule(time(NULL) + m_Interval);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue