Thread: rollback change in #8070 as this includes a regression on windows XP.
Thread: remove warning in barrier.hpp.
Thread: Add return type to lambda to be portable on msvc10.
Thread: Added assertion on testable_mutex lock when the mutex is locked by this thread.
Thread: fix issue with future<>::then() when th efuture was not created with async.