You should initialize thread_as:
Test()
: thread_( <initialization here, see below> )
{
}
Processis a member of a non-static class method Test. You can:
- declare
Processas static. - bind a test instance to call
Processon.
Process ,
&Test::Process
Test Boost.Bind:
boost::bind(&Test::Process, this)