Thread Objects examples