That is trac issue 2501. It was fixed post 1.43, so should be in 1.44.
Trunk version of locks.hpp does not compile this example with MSVC 2010.
Do I need other files from trunk to fix this issue?
I've attached patch that I did to fix this issue for me. (Should be applied to trunk version of locks.hpp)
Best Regards,
Sergei