parent
9a0fc069bf
commit
55ea6d44dd
@ -933,8 +933,7 @@ inserted to the object.
|
|||||||
:func:`json_object()`, either explicit or implicit. If this
|
:func:`json_object()`, either explicit or implicit. If this
|
||||||
function is not called by the user, the first call to
|
function is not called by the user, the first call to
|
||||||
:func:`json_object()` (either explicit or implicit) seeds the hash
|
:func:`json_object()` (either explicit or implicit) seeds the hash
|
||||||
function. See :ref:`portability-thread-safety` for notes on thread
|
function. See :ref:`thread-safety` for notes on thread safety.
|
||||||
safety.
|
|
||||||
|
|
||||||
If repeatable results are required, for e.g. unit tests, the hash
|
If repeatable results are required, for e.g. unit tests, the hash
|
||||||
function can be "unrandomized" by calling :func:`json_object_seed`
|
function can be "unrandomized" by calling :func:`json_object_seed`
|
||||||
|
@ -41,7 +41,7 @@ Contents
|
|||||||
upgrading
|
upgrading
|
||||||
tutorial
|
tutorial
|
||||||
conformance
|
conformance
|
||||||
portability
|
threadsafety
|
||||||
apiref
|
apiref
|
||||||
changes
|
changes
|
||||||
|
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
***********
|
*************
|
||||||
Portability
|
|
||||||
***********
|
|
||||||
|
|
||||||
.. _portability-thread-safety:
|
|
||||||
|
|
||||||
Thread safety
|
Thread safety
|
||||||
-------------
|
*************
|
||||||
|
|
||||||
|
.. _thread-safety:
|
||||||
|
|
||||||
Jansson as a library is thread safe and has no mutable global state.
|
Jansson as a library is thread safe and has no mutable global state.
|
||||||
The only exceptions are the hash function seed and memory allocation
|
The only exceptions are the hash function seed and memory allocation
|
Loading…
Reference in New Issue
Block a user