$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Doug Gregor (dgregor_at_[hidden])
Date: 2004-08-27 09:27:13
On Aug 27, 2004, at 4:37 AM, Howard Cole wrote:
>
> myclass test_instance;
> boost::thread test_thread(test_instance);
> test_thread.join();
Just change the thread construction to use boost::ref:
boost::thread test_thread(boost::ref(test_instance));
Doug