no rc t1&t2 when pthread_cond_wait by check the buf