Boost logo

Boost :

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).


Boost list run by bdawes at, gregod at, cpdaniel at, john at