diff options
author | Ralph Bean <rbean@redhat.com> | 2013-01-02 10:50:51 -0500 |
---|---|---|
committer | Ralph Bean <rbean@redhat.com> | 2013-01-02 10:50:51 -0500 |
commit | 91f7ed4b9450e6f48cbf19c06584cb2fa24afcfc (patch) | |
tree | 881a7a4d7c422c6d823b09b146fe988a6663e998 /dogpile | |
parent | fdface8b8dc29e389ccdd6c5daf80014fc4d4eb2 (diff) | |
download | dogpile-core-91f7ed4b9450e6f48cbf19c06584cb2fa24afcfc.tar.gz |
Docstring comment on threaded_creation.
Diffstat (limited to 'dogpile')
-rw-r--r-- | dogpile/core/dogpile.py | 4 |
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. """ |