added some pthread examples