[Asterisk-code-review] lock: Reduce storage related to DEBUG THREADS. (asterisk[master])

Corey Farrell asteriskteam at digium.com
Thu Sep 27 05:06:04 CDT 2018


Corey Farrell has posted comments on this change. ( https://gerrit.asterisk.org/10293 )

Change subject: lock: Reduce storage related to DEBUG_THREADS.
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.asterisk.org/#/c/10293/1/main/lock.c
File main/lock.c:

https://gerrit.asterisk.org/#/c/10293/1/main/lock.c@80
PS1, Line 80: 	if (*plt == AST_LOCK_TRACK_DISABLED) {
I assume this is safe?  If this magic value matches then we will never modify *plt (t->tracker).



-- 
To view, visit https://gerrit.asterisk.org/10293
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iabd650908901843e9fff47ef1c539f0e1b8cb13b
Gerrit-Change-Number: 10293
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Thu, 27 Sep 2018 10:06:04 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180927/6fb9e433/attachment.html>


More information about the asterisk-code-review mailing list