
21 Sep
2005
21 Sep
'05
6:26 p.m.
On 21/09/05, Simmons, Aaron
I've been thinking about writing a class that inherits from boost::thread. However, I noticed that the destructor isn't virtual. Shouldn't it be?
boost::thread is designed neither as a base class nor to be used polymorphically. Why do you want to inherit from a thread? You still couldn't get at the private thread handles and there are no virtual functions to modify behavior. - Scott