aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-30 18:03:00 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-08-30 18:03:00 +0000
commit22cb86722b88e807b176e2f7800b21841e115bd9 (patch)
treedad3dc2c742cb0827fc83d09318ff035aca53b63 /include
parentf80df80d45ca54d38e00162371f87b4011d9876c (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@41410 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h
index cf9549751..dc9cf9a28 100644
--- a/include/asterisk/lock.h
+++ b/include/asterisk/lock.h
@@ -485,7 +485,7 @@ static inline int __ast_cond_timedwait(const char *filename, int lineno, const c
t->thread[t->reentrancy] = 0;
}
- if ((res = pthread_cond_timedwait(cond, &t->mutex, abstime))) {
+ if ((res = pthread_cond_timedwait(cond, &t->mutex, abstime)) && (res != ETIMEDOUT)) {
__ast_mutex_logger("%s line %d (%s): Error waiting on condition mutex '%s'\n",
filename, lineno, func, strerror(res));
#ifdef THREAD_CRASH