Define also when not DEBUG_THREADS

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@118954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Tilghman Lesher 17 years ago
parent 65808210e9
commit ba9f012573

@ -711,6 +711,11 @@ static inline int __ast_cond_timedwait(const char *filename, int lineno, const c
#else /* !DEBUG_THREADS */ #else /* !DEBUG_THREADS */
#define DEADLOCK_AVOIDANCE(lock) \
ast_mutex_lock(lock); \
usleep(1); \
ast_mutex_unlock(lock);
typedef pthread_mutex_t ast_mutex_t; typedef pthread_mutex_t ast_mutex_t;

Loading…
Cancel
Save