cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Why doesn't pthread_cond_wait return whe
Why doesn't pthread_cond_wait return when the program receives a signal?
Mar 14, 2011 at 8:41am UTC
unregistered
(199)
namely, SIGINT
Mar 14, 2011 at 12:55pm UTC
jsmith
(5804)
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.