Thread: fix #8458 and update doc.

svn path=/branches/release/libs/thread/; revision=84792