]> 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:47:06 +0000 (21:47 +0000)
committerCorey Farrell <git@cfware.com>
Sun, 13 Jul 2014 21:47:06 +0000 (21:47 +0000)
commit01492e96d97fe5b67501f0dd67ebb650b23fe87f
treeae77f319d26ba18332cef2f7b40743940bf5a1ee
parent4542181b8a84ab3eb92581cce4a7ff0e933c54e5
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/

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