mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix locking issue
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4499,6 +4499,7 @@ retrylock:
|
||||
ast_pthread_mutex_unlock(&p->lock);
|
||||
/* Sleep infintismly short amount of time */
|
||||
usleep(1);
|
||||
ast_pthread_mutex_lock(&p->lock);
|
||||
goto retrylock;
|
||||
}
|
||||
memcpy(&p->recv, &sin, sizeof(p->recv));
|
||||
|
Reference in New Issue
Block a user