change pthread_cond