Ralph Bean  committed 6d24f53

Docstring comment on threaded_creation.

  • Participants
  • Parent commits b369403

Comments (0)

Files changed (1)

File dogpile/core/

      ``None`` for never expires.  This timestamp is compared
      to the creation_time result and ``time.time()`` to determine if
      the value returned by value_and_created_fn is "expired".
+    :param threaded_creation: A boolean.  If True, a background thread
+    is spawned to invoke the creator callable.  The responsibility for
+    releasing the mutex is delegated to that new thread.