Add ex2. Pthread