Update to the janitor project for making sure to be thread-safe when
authorMark Michelson <mmichelson@digium.com>
Wed, 28 May 2008 19:56:18 +0000 (19:56 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 28 May 2008 19:56:18 +0000 (19:56 +0000)
commitdd7e1255ac5eae4f9a41e1d9a6096d69564af569
treeecbe173cf46bc7d7d7ba4cdbb4f805f97f51e4e8
parent1bd776b0ea449c12809c4494481e16cf9a1acde4
Update to the janitor project for making sure to be thread-safe when
retrieving the value of a channel variable. This covers app_queue.

This commit also incorporates a logical change. Previously, if MixMonitor
is to be used to record the call, all the arguments were parsed first. Then
the MixMonitor app would be located. Now the order of these operations has
been swapped. Now the app is located first so that we only go through the
work of parsing the arguments if the app was found.

(closes issue #12742)
Reported by: snuffy
Patches:
      bug_12742.diff uploaded by snuffy (license 35)

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