|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-06 10:00:49
From: "Yitzhak Sapir" <yitzhaks_at_[hidden]>
>
> One of the things I like about the Boost.Threads model which does not have
a virtual run() function is that it makes you think about bugs like what I
think is a bug in the above code, where run(), a virtual function could
continue running and accessing the descendant of oo_thread after the
destructor of the oo_thread's descendant has been called, but before pt has
been destructed.
<
Good point.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk