Skip to content

Commit

Permalink
Fix #118: Improve documentation regarding thread safety.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem committed Jan 29, 2019
1 parent 90d3507 commit 59b24e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/index.rst
Expand Up @@ -53,10 +53,10 @@ of one argument used to retrieve the size of an item's value.

.. note::

Please be aware that :class:`Cache` and its subclasses are *not*
thread-safe. Access to a shared cache from multiple threads must
be properly synchronized, e.g. by using one of the memoizing
decorators with a suitable `lock` object.
Please be aware that all these classes are *not* thread-safe.
Access to a shared cache from multiple threads must be properly
synchronized, e.g. by using one of the memoizing decorators with a
suitable `lock` object.

.. autoclass:: Cache(maxsize, getsizeof=None)
:members:
Expand Down

0 comments on commit 59b24e4

Please sign in to comment.