merge latest main trunk fixes

svn path=/branches/mpl_v2_2/boost/boost/thread.hpp; revision=18769