Fix a potential race condition when creating a software based mixing bridge.
authorJoshua Colp <jcolp@digium.com>
Fri, 27 Mar 2009 13:57:29 +0000 (13:57 +0000)
committerJoshua Colp <jcolp@digium.com>
Fri, 27 Mar 2009 13:57:29 +0000 (13:57 +0000)
commit1cd4ecd0b71d7d6ce97c00dab54e68053f6f05d3
tree17f5fd96de4c03bbcf1ae2b41eb26baf646c40dd
parent0580121cee1465e05f388a66dc9aac4865100c38
Fix a potential race condition when creating a software based mixing bridge.

It was possible for no timer to become available between creating the bridge
and starting it. We now open a timer when creating it and keep it open until the
bridge is destroyed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@184628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
bridges/bridge_softmix.c