more examples for threads