]> 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:19 +0000 (12:27 -0600)
commit6c72c22d51d03e45dd8ae905bda640f890fca61d
treeef798b191faeb488440afa5a121bb5cfdaac8e79
parenta62fcfa17bab22b99e0a5acdfa00b6e573c2a2e2
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