restart of branch, this is to include changes from trunk

svn path=/sandbox-branches/birbacher/fix_iostreams/boost/detail/lwm_pthreads.hpp; revision=40545