]> 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:47 +0000 (15:13 +0000)
commita0ce65e9993c7d93ea64bf227a3d64e42c892ab3
tree858136efd6146b54e2b9c01c13f1391ee44dc059
parent398a77894cd74c965ce02813e2f9d9e024365c8c
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