Why doesn't pthread_cond_wait return when the program receives a signal?

namely, SIGINT
The man page specifically says the function will not return [EINTR] (ie, not return -1 with errno = EINTR) which is what you'd get if a system call was interrrupted (by a signal, for example). (However, pthread_cond_wait is a cancellation point).

Topic archived. No new replies allowed.