mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Spinlock within the destroy, to allow a scheduled job to continue, if it's
waiting on the mutex which the destroy thread has. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@132042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1306,8 +1306,8 @@ retry:
|
||||
}
|
||||
}
|
||||
if (!owner && iaxs[callno]) {
|
||||
AST_SCHED_DEL(sched, iaxs[callno]->lagid);
|
||||
AST_SCHED_DEL(sched, iaxs[callno]->pingid);
|
||||
AST_SCHED_DEL_SPINLOCK(sched, iaxs[callno]->lagid, &iaxsl[callno]);
|
||||
AST_SCHED_DEL_SPINLOCK(sched, iaxs[callno]->pingid, &iaxsl[callno]);
|
||||
iaxs[callno] = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user