Boost logo

Boost :

From: John Max Skaller (skaller_at_[hidden])
Date: 2001-08-18 19:42:02


Peter Dimov wrote:

> Of course this is a single typedef away from thread::ref so you all must
> hate me by now.

        Don't be silly. If the design is that close to being
able to use shared_ptr on a thread object, the design has
succeeded. No one wanted to force you to use the low level
non-copyable thread objects, rather, the design _should_
make it easy to wrap those objects in a 'standard' ref counting
template.

        So the question is: if you do that, does it actually
work? How close is 'smart_ptr<thread>' to a good implementation
of 'thread_ref'?? Is it good enough to actually add as a typedef
to the thread library?? :-)

-- 
John (Max) Skaller, mailto:skaller_at_[hidden] 
10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850
New generation programming language Felix  http://felix.sourceforge.net
Literate Programming tool Interscript     
http://Interscript.sourceforge.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk