Boost logo

Boost Users :

Subject: Re: [Boost-users] Use Boost thread and store results of function into object's local variable.
From: Igor R (boost.lists_at_[hidden])
Date: 2011-07-23 16:18:05


> TG->create_thread( boost::bind( &PSMClass::process(), boost::ref(*v) ) );

Parentheses designate function call, remove them after PSMClass::process.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net