[Asterisk-code-review] lock: Improve performance of DEBUG THREADS. (asterisk[15])
Corey Farrell
asteriskteam at digium.com
Fri Sep 28 13:45:23 CDT 2018
Hello Jenkins2,
I'd like you to reexamine a change. Please visit
https://gerrit.asterisk.org/10317
to look at the new patch set (#2).
Change subject: lock: Improve performance of DEBUG_THREADS.
......................................................................
lock: Improve performance of DEBUG_THREADS.
Add a volatile flag to lock tracking structures so we only need to use
the global lock when first initializing tracking.
Additionally add support for DEBUG_THREADS_LOOSE_ABI. This is used by
astobj2.c to eliminate storage for tracking fields when DEBUG_THREADS is
not defined.
Change-Id: Iabd650908901843e9fff47ef1c539f0e1b8cb13b
---
M include/asterisk/astobj2.h
M include/asterisk/lock.h
M main/astobj2.c
M main/lock.c
4 files changed, 81 insertions(+), 90 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/17/10317/2
--
To view, visit https://gerrit.asterisk.org/10317
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iabd650908901843e9fff47ef1c539f0e1b8cb13b
Gerrit-Change-Number: 10317
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2 (1000185)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180928/49e1c8ea/attachment.html>
More information about the asterisk-code-review
mailing list