| [ CnUnix ] in KIDS 글 쓴 이(By): chunmok (준목) 날 짜 (Date): 2003년 4월 8일 화요일 오후 08시 21분 22초 제 목(Title): Re: Simple Question about PIPE You are right. But, pthread_cond_signal(pthread_cond_t *cond) function has no mutex variable parameter. It doesn't need mutex variable. If it(SENDER) try to lock mutex, it cannot gain mutex, because READER already locked mutex before while() loop. Please, remove pthread_mutex_lock() function before pthead_cond_signal() function. 그래... 다시 시작하는 거야 ... |