]> git.ipfire.org Git - thirdparty/asterisk.git/commit
json: Add conditionals to avoid locking if Jansson is thread safe.
authorCorey Farrell <git@cfware.com>
Wed, 31 Jan 2018 02:31:51 +0000 (21:31 -0500)
committerCorey Farrell <git@cfware.com>
Mon, 12 Feb 2018 18:27:14 +0000 (12:27 -0600)
commit6ac8fa500736c9f4f59c4721d2fe2815c8de3887
tree14de6aa2efd35c3c4c11f83a04ea79368970be0d
parentc76ea5658f68c87f534bbc95c02c06b6946eede8
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
contrib/scripts/install_prereq
main/json.c