Merged revisions 138119,138151,138238 via svnmerge from
authorJeff Peeler <jpeeler@digium.com>
Fri, 15 Aug 2008 23:46:09 +0000 (23:46 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 15 Aug 2008 23:46:09 +0000 (23:46 +0000)
commit729cb1d390b136ccc696430aa5c68d60ea4028be
treefdef3afd70e8495bcf3a3ff510a68d95cb9caa0e
parent2f4f526ad623d167337bc924a8b1eae89885e52d
Merged revisions 138119,138151,138238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138119 | jpeeler | 2008-08-15 14:21:51 -0500 (Fri, 15 Aug 2008) | 4 lines

Fixes the dahdi restart functionality. Dahdi restart allows one to restart all DAHDI channels, even if they are currently in use. This is different from unloading and then loading the module since unloading requires the use count to be zero. Reloading the module is different in that the signalling is not changed from what it was originally configured. Also, this fixes not closing all the file descriptors for D-channels upon module unload (which would prevent loading the module afterwards).

(closes issue #11017)

........
r138151 | jpeeler | 2008-08-15 14:41:29 -0500 (Fri, 15 Aug 2008) | 1 line

declared static mutexes using AST_MUTEX_DEFINE_STATIC macro
........
r138238 | jpeeler | 2008-08-15 16:28:26 -0500 (Fri, 15 Aug 2008) | 1 line

initialize condition variable ss_thread_complete using ast_cond_init
........

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