Re: [boost] Boost.Thread and Boost.Move collision

Vicente J. Botet Escriba:
Le 01/12/11 18:11, onlyone@senet.com.au a ?crit :
1) Move Boost.Move elements to boost::move:: namespace 2) Move Boost.Thread elements to boost::thread namespace 3) Modify Boost.Thread to make use of Boost.Move
FWIW, I think 3) is what sounds obvious to me. Now maybe there's reasons to avoid coupling those libraries together but I'm not sure what they would be.
Philippe Hi, I have been working on a patch to do just that. I have not run into any major issues so far. Modifying Boost.Thread to use Boost.Move solves two problems:
1) It fixes the name collision (obviously). 2) It allows types that have been designed to use the Boost.Move emulation to interoperate with Boost.Thread. (This is relevant for futures/promises.)
Could you post the patch or attach it to a Trac ticket?
Any news of this patch?
I have been working on it. I was able to implement the basic functionality in a matter of hours (Boost.Move is very easy to use). Unfortunately, I have been having trouble "Boostifying" the code, as I am unfamiliar with the reasons for many of the workarounds in the existing code (I am worried about causing regressions in these). I have not yet started on the documentation or tests. This patch is still my #1 priority, so expect it soon! Regards, Evan Wallace

Le 11/12/11 14:00, onlyone@senet.com.au a écrit :
Vicente J. Botet Escriba:
Le 01/12/11 18:11, onlyone@senet.com.au a ?crit : Could you post the patch or attach it to a Trac ticket?
Any news of this patch?
I have been working on it. I was able to implement the basic functionality in a matter of hours (Boost.Move is very easy to use). Unfortunately, I have been having trouble "Boostifying" the code, as I am unfamiliar with the reasons for many of the workarounds in the existing code (I am worried about causing regressions in these). I have not yet started on the documentation or tests. This patch is still my #1 priority, so expect it soon!
Others can participate on doc and tests. Please could you show what you have so we can see the work that needs to be done yet? Ion has volunteered to help, I will do also. If the patch is good enough (no regression with the current tests) we can commit it and improve it together before merging to release. This is an important point, that unfortunately will net be integrated on release 1.49. We need to ensure that Boost.Thread has a correct move semantic for 1.50. Thanks for working on this, Vicente
participants (2)
-
onlyone@senet.com.au
-
Vicente J. Botet Escriba