added pthread_cond example