about "i#52: lock database"

Vlad Skvortsov vss at 73rus.com
Mon Apr 16 15:37:43 PDT 2007


Ivan Glushkov wrote:

[skipped]

>
> I suppose we also should allow read-only actions on locked database.
> As an example: when you start editing some comment you try to remember
> issue number to reffer to it. You should have opportunity to 'list',
> 'cat' issues.

Agreed, we should allow that.

>
> fcntl is available only on unix. So we should use for Windows another 
> scheme.

Yep, that's a problem. I've conducted some quick research and came 
across this one:

http://www.voidspace.org.uk/python/weblog/arch_d7_2005_11_26.shtml

... but it's GPL.

Linked from the same site,

http://www.voidspace.org.uk/python/pathutils.html

seems to be BSD-licensed. We need to make sure it's something we might 
use and that the license is really compatible.

-- 
Vlad Skvortsov, vss at 73rus.com, http://vss.73rus.com



More information about the Dev mailing list