Add thread examples