5 Jul
2008
5 Jul
'08
5:51 p.m.
Hi, I would like to relinquish the CPU from a thread so I thought using boost::thread::sleep(...). However, I have no idea how to initialize its argument. It looks like this is a boost::system_time. How to initiliaze such a type so my thread waits 20ms, 100ms...!? Thanks!