$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] To create a boost thread
From: Remko Tronçon (remko_at_[hidden])
Date: 2009-03-12 12:08:09
> MyClass::myFunction() {
> boost::thread thrd(&hello);
What you probably mean is
boost::thread thrd(boost::bind(&MyClass::hello, this));
(i.e. saying that you want to call the hello function for 'this' object).
cheers,
Remko