Files
asterisk/main
David M. Lee 10c91bc96e Address JSON thread safety issues.
In tracking down some unit tests failures, I ended up reading the fine
print[1] regarding Jansson's thread safety.

In short:
 1. Ref-counting is non-atomic.
 2. json_dumps() and friends are not thread safe.

This patch adds locking where necessary to our ast_json_* wrapper API,
with documentation in json.h describing the thread safety limitations of
the API.

 [1]: http://www.digip.org/jansson/doc/2.4/portability.html#thread-safety

Review: https://reviewboard.asterisk.org/r/2716/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-08-02 14:27:35 +00:00
..
2012-12-03 20:46:11 +00:00
2013-08-01 17:07:52 +00:00
2012-03-24 02:42:42 +00:00
2013-07-24 19:32:23 +00:00
2013-07-19 23:30:10 +00:00
2013-07-25 04:06:32 +00:00
2013-07-25 04:06:32 +00:00
2013-07-19 18:00:35 +00:00
2013-08-02 14:27:35 +00:00
2013-07-25 04:06:32 +00:00
2013-07-04 13:06:15 +00:00
2013-02-14 18:47:56 +00:00
2013-06-29 00:18:57 +00:00
2013-07-14 02:05:04 +00:00
2012-03-22 19:51:16 +00:00
2012-12-11 22:25:21 +00:00
2013-08-02 14:27:35 +00:00
2013-07-29 15:58:52 +00:00
2013-08-01 17:07:52 +00:00
2013-08-01 17:07:52 +00:00
2013-04-18 17:26:29 +00:00
2012-12-11 22:25:21 +00:00
2013-02-14 18:47:56 +00:00
2012-12-11 22:25:21 +00:00
2013-02-15 13:38:12 +00:00
2013-08-01 17:07:52 +00:00