Thread: prepare for HH shared_mutex.

svn path=/trunk/boost/thread/; revision=82946