mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-21 06:37:42 +01:00
fixed one-shot timer and maufunction of long start interval
This commit is contained in:
parent
755c31a4fd
commit
fe86370c34
@ -184,7 +184,7 @@ void Timer::run()
|
||||
}
|
||||
while (sleep < 0);
|
||||
|
||||
if (_wakeUp.tryWait(sleep > _periodicInterval ? _periodicInterval : sleep))
|
||||
if (_wakeUp.tryWait(sleep))
|
||||
{
|
||||
Poco::FastMutex::ScopedLock lock(_mutex);
|
||||
_nextInvocation.update();
|
||||
|
Loading…
x
Reference in New Issue
Block a user