Thread: remove warnings.

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