Some code optimizations.
authorRichard Mudgett <rmudgett@digium.com>
Thu, 6 May 2010 23:41:22 +0000 (23:41 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 6 May 2010 23:41:22 +0000 (23:41 +0000)
commit6f03bf4a4245e536f21cf31be368bd8e83723f2c
tree08d53ec0de33b17a67adefa4f3a53e7f6be9a04f
parent8312f25b13513774d9cee3dad58e6430e079e25b
Some code optimizations.

* Made more places use pri_queue_control() instead of pri_queue_frame()
and a local frame variable.

* Made pri_queue_frame() use sig_pri_lock_owner().  pri_queue_frame() no
longer releases the libpri access lock unless it is required.

* Made the pri_queue_frame() and pri_queue_control() parameter list
similar to sig_pri_lock_owner().

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@261822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/sig_pri.c