5 Mar
2006
5 Mar
'06
7:24 p.m.
Olaf van der Spek wrote:
On 3/4/06, Kevin Heifner
wrote: boost::scoped_ptrboost::thread m_thread; m_thread.reset(new boost::thread(boost::bind(&Cdns_worker::run, this));
But that requires me to use new.
I also prefer to avoid its use anywhere that I can. Of course the thread group is new'ing for you if you use it.
And are there any boost::thread examples? I couldn't find them in the documentation. C:\boost_1_33_1\libs\thread\example\*.cpp
I searched at http://boost.org/doc/html/threads.html and don't see examples mentioned. Are they not linked in the online documentation?
Not that I saw. KevinH -- Kevin Heifner heifner @ ociweb.com http://heifner.blogspot.com Object Computing, Inc. (OCI) www.ociweb.com