]> 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)
committerAsterisk Development Team <asteriskteam@digium.com>
Mon, 10 Jul 2023 11:49:31 +0000 (11:49 +0000)
commit427ee8b8e8298044470b87cd58db495c38300a21
tree7416c90c738732f48aa33336307c9fdc6bd91a5a
parent06963eae625d2b4bb1878e8504d43628150e1bbc
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
(cherry picked from commit a0ce65e9993c7d93ea64bf227a3d64e42c892ab3)
main/utils.c