]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix logger deadlock on Asterisk shutdown.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 30 Mar 2012 21:29:43 +0000 (21:29 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 30 Mar 2012 21:29:43 +0000 (21:29 +0000)
commite9591a724da7f69fc4a302fe833d3ac4f517b35f
tree53e5edda4feaadd01a71b8876257113db6833d9f
parent59a886e25f1acd0afc41660718c7b51a53e22b30
Fix logger deadlock on Asterisk shutdown.

The logger_thread() had an exit path that failed to release the logmsgs
list lock.

* Make logger_thread() exit path unlock the logmsgs list lock.

* Made ast_log() not queue any messages to the logmsgs list if the
close_logger_thread flag is set.

(issue ASTERISK-19463)
Reported by: Matt Jordan
........

Merged revisions 360933 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10@360934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/logger.c