Thread: apply patch #8550.

svn path=/trunk/libs/thread/; revision=84684