Boost logo

Boost Users :

From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2008-08-29 08:56:04


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 29 August 2008 04:50 am, Johan Råde wrote:
> What is the correct syntax to make the current thread sleep for 5 seconds?

I do:

boost::this_thread::sleep(boost::posix_time::seconds(5));
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIt/Ho5vihyNWuA4URAvayAKDJPWRCFHvM3ocXhpdo1QB3ktDTVQCdENka
mUN5PB/s23v1JKDVZozB17U=
=LvPg
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net