|
Boost Users : |
From: me22 (me22.ca_at_[hidden])
Date: 2005-09-21 13:26:32
On 21/09/05, Simmons, Aaron <a-simmons1_at_[hidden]> wrote:
>
> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net