]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Thu, 29 Jun 2023 15:13:52 +0000 (15:13 +0000)
commit2822bb39774be9dce14fee0a62fb7ea2a540bd1b
tree7f22aee8ae2ce4cf981d428e745436df7f3db3ff
parente52ad197153914d965b34e7a5abecd769890be5d
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