Files
asterisk/main
Corey Farrell 28e3bd0af7 Improved and portable ast_log recursion avoidance
This introduces a new logger routine ast_log_safe.  This routine should be
used for all error messages in code that can be run as a result of ast_log.
ast_log_safe does nothing if run recursively.  All error logging in
astobj2.c, strings.c and utils.h have been switched to ast_log_safe.

This required adding support for raw threadstorage.  This provides direct
access to the void* pointer in threadstorage.  In ast_log_safe, NULL is used
to signify that this thread is not already running ast_log_safe, (void*)1 when
it is already running.  This was done since it's critical that ast_log_safe
do nothing that could log during recursion checking.

ASTERISK-24155 #close
Reported by: Timo Teräs
Review: https://reviewboard.asterisk.org/r/4502/
........

Merged revisions 433522 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 433523 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-03-27 07:12:25 +00:00
..
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2015-01-30 16:49:59 +00:00
2015-03-25 18:37:51 +00:00
2014-10-10 13:03:18 +00:00
2013-07-04 13:06:15 +00:00
2012-03-22 19:51:16 +00:00
2013-06-29 00:18:57 +00:00
2014-09-05 17:45:03 +00:00
2012-03-22 19:51:16 +00:00
2015-03-17 22:15:42 +00:00
2012-06-15 16:20:16 +00:00
2013-09-10 18:05:47 +00:00
2014-05-09 22:49:26 +00:00
2015-03-22 23:11:32 +00:00
2012-04-28 01:33:49 +00:00
2012-06-15 16:20:16 +00:00
2012-06-15 16:20:16 +00:00
2015-01-26 14:50:40 +00:00
2012-09-21 17:14:59 +00:00
2013-02-14 18:47:56 +00:00
2012-06-15 16:20:16 +00:00