]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ensure that adding a user to the list of users of a specific music on hold
authorRussell Bryant <russell@russellbryant.com>
Fri, 13 Jul 2007 20:07:21 +0000 (20:07 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 13 Jul 2007 20:07:21 +0000 (20:07 +0000)
commitab2a84f41098b85dfadaf2773d9addd32dec9e67
treef608c759c91e7ba69a17e2669814dc8a0b330e91
parent460df0480b22f6211062b8e857ba6999c96b3cc7
Ensure that adding a user to the list of users of a specific music on hold
class is not done at the same time as any of the other operations on this list
to prevent list corruption.  Using the global moh_data lock for this is not
ideal, but it is what is used to protect these lists everywhere else in the
module, and I am only changing what is necessary to fix the bug.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@75059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_musiconhold.c