$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2007-11-23 11:09:10
v2cechura wrote:
> boost::xtime xt = {2};
> 		boost::thread::sleep(xt);
I presume that you want this to sleep for 2 seconds.  I doubt that this 
is the reason why your program crashes, but note that xtime should be 
an absolute time, not relative (at least, in the version that I'm 
using).  You need something like:
struct boost::xtime xt;
xtime_get(&xt, boost::TIME_UTC);
xt.sec += 2;
boost::thread::sleep(xt);
Phil.