From 3abdb27561711dc4b64b8daea0731ada7c5aace4 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Jul 2011 23:05:30 -0600 Subject: [PATCH] ... --- src/calibre/db/locking.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/db/locking.py b/src/calibre/db/locking.py index f2a1e4de1f..266cb9b62c 100644 --- a/src/calibre/db/locking.py +++ b/src/calibre/db/locking.py @@ -40,7 +40,8 @@ def create_locks(): class SHLock(object): ''' Shareable lock class. Used to implement the Multiple readers-single writer - paradigm. + paradigm. As best as I can tell, neither writer nor reader starvation + should be possible. Based on code from: https://github.com/rfk/threading2 '''