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.
#include "<strong>Poco</strong>/ActiveMethod.h"#include "<strong>Poco</strong>/ActiveResult.h"#include using <strong>Poco</strong>::ActiveMethod;using <strong>Poco</strong>::ActiveResult;class ActiveAdder{public:ActiveAdder():add(this, &ActiveAdder::addImpl){}ActiveMethod add;private:int addImpl(const std::pair& args){return args.first + args.second;}};