]> git.ipfire.org Git - thirdparty/asterisk.git/commit
A new way to try and deal with deadlocks that occur in app_queue at present. Using...
authorBJ Weschke <bweschke@btwtech.com>
Thu, 25 May 2006 21:47:03 +0000 (21:47 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Thu, 25 May 2006 21:47:03 +0000 (21:47 +0000)
commit295c340164dce3624c2cdc2c52678f9283e2a86c
tree1a4d97ea5e554d7e0e31bd280a3da690265db12a
parent8ecf6a7bb168b6e86f7a24121aa4d9fea3c022a6
  A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Further optimizations are still possible (eg - store and manage pointers to the status integer of the member record that this interface/device has a one-to-one relationship with and then go directly to those pointers to make status modifications rather than the recursive looping that goes on now) BUT first things first. :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c