]> 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:45 +0000 (15:13 +0000)
commit3acdffc17e05ab8fdb9ba440a614454aac393233
tree3b55af8b29927d44aa50a5ef73fb6107083eb5e7
parent4ff17f44a4a4fdca3e5f5e2ab98d011df21b8bc4
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