
6 Nov
2007
6 Nov
'07
3:24 p.m.
Hi, Do any of the boost timer methods allow elapsed time to be measured in a separate thread? Something like: int main() { boost_thread timer; timer.Start(); while () { // some timeout. sleep(5000); // check how much time has passed. cout << timer.GetElapsedTime() << endl; } return 0; } Thanks