summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dogpile/core/dogpile.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/dogpile/core/dogpile.py b/dogpile/core/dogpile.py
index 01aa274..a55bd6e 100644
--- a/dogpile/core/dogpile.py
+++ b/dogpile/core/dogpile.py
@@ -47,7 +47,9 @@ class Lock(object):
``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.
"""