]> 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:48 +0000 (11:49 +0000)
commit714950bd7c597595851dfe4bdff0ff9a944db49e
tree05548a63158513f0c0c1ae9d65e9b11f6a659823
parent244e0b69ea776d4be35de77b99aa9329a1a35dbd
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 3acdffc17e05ab8fdb9ba440a614454aac393233)
main/utils.c