Subject: Re: [boost] [Thread] Non-copyable boost::thread
From: Anthony Williams (anthony.ajw_at_[hidden])
Date: 2010-05-18 04:25:02
"vicente.botet" <vicente.botet_at_[hidden]> writes:
> ----- Original Message -----
> From: "Anthony Williams" <anthony.ajw_at_[hidden]>
> To: <boost_at_[hidden]>
> Sent: Monday, May 17, 2010 10:54 PM
> Subject: Re: [boost] [Boost][Thread] Non-copyable boost::thread
>> "Belcourt, Kenneth" <kbelco_at_[hidden]> writes:
>> Vicente is right that I meant boost::move and boost::thread.
>> boost::move is overloaded for boost::thread and anything else that uses
>> boost::thread_move, so the above should "just work".
>> See libs/thread/test/test_thread_move.cpp and
>>> Since Boost.Thread has it's own partial move implementation in
>>> boost::detail::thread_move, it seems that some work is necessary to
>>> integrate (or re-implement) thread_move in terms of boost::move.
>>> That's why I thought I'd ping Anthony and see if this is even worth
>> Yes, there's a bit of work necessary to integrate Boost.Thread move
>> support and Boost.Move, but it should still support move semantics
>> through its own mechanism in the mean time.
> Anthony, where is documented the boost::move function, I don't reach to find it?
Missing. I guess I never wrote it. Added on trunk.
-- Author of C++ Concurrency in Action http://www.stdthread.co.uk/book/ just::thread C++0x thread library http://www.stdthread.co.uk Just Software Solutions Ltd http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk