40 std::cerr << name << std::endl;
41 boost::this_thread::sleep(boost::posix_time::seconds(1));
64 for(
int i = 0; i < 3; i++) {
65 boost::this_thread::sleep(boost::posix_time::seconds(3));
66 std::cerr <<
"main" << std::endl;
The Baseclass for all SoDa objects, and useful commonly used classes.
The Thread baseclass for all SoDa thread objects.
void start()
Execute the threads run loop.
SoDaThread(const std::string &oname)
void run()
Each thread object must define its "run" loop.