提交 55ea6d44 编写于 作者: P Petri Lehtinen

doc: Rename "Portability" to "Thread-safety"

Fixes #545
上级 9a0fc069
...@@ -933,8 +933,7 @@ inserted to the object. ...@@ -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 ...@@ -41,7 +41,7 @@ Contents
upgrading upgrading
tutorial tutorial
conformance conformance
portability threadsafety
apiref apiref
changes changes
......
*********** *************
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册