Add multithread sample