]> git.ipfire.org Git - thirdparty/asterisk.git/commit
utils: add lock timestamps for DEBUG_THREADS
authorMike Bradeen <mbradeen@sangoma.com>
Tue, 23 May 2023 18:33:55 +0000 (12:33 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Fri, 7 Jul 2023 19:31:53 +0000 (13:31 -0600)
commit2915ce3cb9b29efc639f5c6bcf75cf006dea3213
tree7f22aee8ae2ce4cf981d428e745436df7f3db3ff
parenta46456ef44d5c656b3779fd5135dee0e6c5b5241
utils: add lock timestamps for DEBUG_THREADS

Adds last locked and unlocked timestamps as well as a
counter for the number of times the lock has been
attempted (vs locked/unlocked) to debug output printed
using the DEBUG_THREADS option.

Resolves: #110
main/utils.c