We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922885a commit 2a2b6deCopy full SHA for 2a2b6de
compat/compat.c
@@ -48,6 +48,7 @@ pthread_mutex_timedlock(pthread_mutex_t *mutex, const struct timespec *abstime)
48
49
if (nsec_diff <= 0) {
50
/* timeout */
51
+ rc = ETIMEDOUT;
52
break;
53
} else if (nsec_diff < 5000000) {
54
/* sleep until timeout */
0 commit comments