You are correct the "boost::ref(*this)" is not needed. Simple(boost::bind(&Simple::run, this)) {} -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Christian Henning Sent: Friday, January 27, 2006 4:47 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] Spawning a thread on a member function This is even simpler. Is there is reason for "boost::ref(*this)" ? class Simple { Simple() : th( boost::bind( run, this )) {} void run() { for(;;){ //Thread's work goes here. } } private: boost::thread th; }; _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users