Multithreading - Poco
Multithreading - Poco
Multithreading - Poco
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Timers> POCO provides a "sequential" timer implementation in the<strong>Poco</strong>::Timer class.> #include "<strong>Poco</strong>/Timer.h"> A timer starts a thread (taken from a thread pool) that first waitsfor a given start interval.> Once the start interval expires, the timer invokes a callbackfunction.> After the callback function returns, and the periodic interval isnot zero, the timer repeatedly waits for the periodic interval, andthen invokes the callback function.