[Asterisk-code-review] json: Add conditionals to avoid locking if Jansson is thread... (asterisk[master])

Corey Farrell asteriskteam at digium.com
Mon Feb 12 01:55:12 CST 2018


Hello Alexander Traud, Jenkins2, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/8184

to look at the new patch set (#2).

Change subject: json: Add conditionals to avoid locking if Jansson is thread safe.
......................................................................

json: Add conditionals to avoid locking if Jansson is thread safe.

Jansson is thread safe for all read-only functions and reference
counting starting v2.11.  This allows simplification of our code and
removal of locking around reference counting and dumping.

Change-Id: Id985cb3ffa6681f9ac765642e20fcd187bd4aeee
---
M contrib/scripts/install_prereq
M main/json.c
2 files changed, 42 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/84/8184/2
-- 
To view, visit https://gerrit.asterisk.org/8184
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id985cb3ffa6681f9ac765642e20fcd187bd4aeee
Gerrit-Change-Number: 8184
Gerrit-PatchSet: 2
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180212/f31661d9/attachment.html>


More information about the asterisk-code-review mailing list