
28 Jul
2004
28 Jul
'04
12:39 p.m.
Peter Dimov wrote: [...]
boost::thread th( boost::bind( &Thread::run, &my_thread_object ) );
but, of course, there are the lifetime issues to consider, which your proposal does not address, unless you want to enforce join() in the destructor.
Nah. In the *pre*destructor. ;-) Well, ability to subclass "real" thread-objects (without any virtual "run" javanese) is usefull but not critical. Nice to have, so to say. regards, alexander.