
On 8/21/07, Howard Hinnant <howard.hinnant@gmail.com> wrote:
On Aug 21, 2007, at 4:41 PM, Zach Laine wrote:
Are there any plan to add transfer_lock, and any other such generic algoirthms you have lying around, to the proposal as well?
Thanks for the great comments Zach.
You're quite welcome. :)
I put transfer_lock into <shared_mutex> which is TR2-targeted. The std::lock and std::try_lock algorithms are in <mutex>, actually in the implementation <mutex_base> header, and targeted towards C++0X. Some of the other examples are just meant to be example client code (like mutex_debug). If you have a burning desire to get one of them into C+ +0X or TR2, please let me know.
No, I just wanted to see transfer_lock preserved somewhere more permanent than in an example. Zach Laine