4 Oct
2005
4 Oct
'05
9:26 p.m.
Why not just write a wrapper function to make it as easy as you want? Like: void sleep_seconds( unsigned int nSeconds ) { boost::xtime xt; boost::xtime_get(&xt, boost::TIME_UTC); xt.sec += nSeconds; // change xt to next second boost::thread::sleep(xt); } Christian