]> git.ipfire.org Git - thirdparty/asterisk.git/commit
astobj2: work around REF_DEBUG race which causes out of order log entries
authorCorey Farrell <git@cfware.com>
Sun, 13 Jul 2014 21:51:19 +0000 (21:51 +0000)
committerCorey Farrell <git@cfware.com>
Sun, 13 Jul 2014 21:51:19 +0000 (21:51 +0000)
commit148b8d128e539e4b96e91f181ab425adf8030444
tree3bb8409d0f131651f39460d5f08edf7708884c9a
parent7a914e14d0615d6bafd37ac2a166110d881b41c6
astobj2: work around REF_DEBUG race which causes out of order log entries

* Update refcounter.py to use delta's to track the current reference count.
* Use result from internal_ao2_ref to write old_refcount to refs_log.

Review: https://reviewboard.asterisk.org/r/3756/
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@418505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
contrib/scripts/refcounter.py
main/astobj2.c