* The documentation for the LOCK() function says that it will block for up to
authorRussell Bryant <russell@russellbryant.com>
Sun, 30 Sep 2007 03:05:04 +0000 (03:05 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sun, 30 Sep 2007 03:05:04 +0000 (03:05 +0000)
commit9d43f99be12ad40d3bfca75854bf3e09b59b675e
tree9e674ca8bb87b4bb3a8e6272af76778e960b056a
parentb0abdf45a629476b411a44e8577feadd568a5b38
* The documentation for the LOCK() function says that it will block for up to
  3 seconds while waiting on a lock when other locks are currently held to
  avoid deadlocks.  Change the code to reflect this.
* Since trying to grab a lock may block for some time, put the channel in
  autoservice so that audio is still read from the channel and that any
  active generators on the channel don't pause.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_lock.c