Merged revisions 179461 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 2 Mar 2009 23:00:30 +0000 (23:00 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 2 Mar 2009 23:00:30 +0000 (23:00 +0000)
commit0c0479602e577f449e97019554a3e708f30b93c1
treeba00daba37fdf335434adaa5a54dc1ac45cd677a
parent9bb9c6452105088a99b6aa559a112392577b3623
Merged revisions 179461 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r179461 | russell | 2009-03-02 16:58:18 -0600 (Mon, 02 Mar 2009) | 8 lines

Ensure that only one thread is calling ast_settimeout() on a channel at a time.

For example, with an IAX2 channel, you can have both the channel thread and the
chan_iax2 processing threads calling this function, and doing so twice at the
same time is a bad thing.

(Found in a debugging session with dvossel and mmichelson)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@179462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c