17 Jul
2006
17 Jul
'06
9:30 p.m.
Please use a smart pointer. in class declaration: typedef boost::scoped_ptrboost::thread tThread_Ptr; tThread_Ptr _spThread; in class constructor or wherever: _spThread.reset( new boost::thread( boost::bind( _run , this ))); Regards, Christian