$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Christian Henning (chhenning_at_[hidden])
Date: 2006-01-27 17:46:36
This is even simpler. Is there is reason for "boost::ref(*this)" ?
class Simple
{
Simple() : th( boost::bind( run, this ))
{}
void run()
{
for(;;){
//Thread's work goes here.
}
}
private:
boost::thread th;
};