From 91f7ed4b9450e6f48cbf19c06584cb2fa24afcfc Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 2 Jan 2013 10:50:51 -0500 Subject: Docstring comment on threaded_creation. --- dogpile/core/dogpile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. """ -- cgit v1.2.1