Thread: Added changes for 1.54.

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