//#include "ThreadPool.h" //#include "threadpool.h" #include #include #include "Multi.h" using namespace std; //const int MAX_TASKS = 4; /* void hello(void* arg) { string* x = (string*) arg; cout << "Hello: " << *x << endl; // cout << "\n"; } */ int main(int argc, char* argv[]) { Multi* m = new Multi(); cout<<"Answer:"<< m->executeCommand(argc,argv) << endl; delete m; /* ThreadPool tp(2); int ret = tp.initialize_threadpool(); if (ret == -1) { cerr << "Failed to initialize thread pool!" << endl; return 0; } */ /* for (int i = 0; i < MAX_TASKS; i++) { cout<<"adding task:" <