Thread fix #8451.

svn path=/branches/release/boost/thread/; revision=83995