Thread: fix typo on return value

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