summaryrefslogtreecommitdiff
path: root/python/lock.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-04-21python: Commit documentation changes suggested by debian-l10n-english.Julian Andres Klode1-4/+4
2010-01-15python/lock.cc,python/progress.cc: Include Python.h first to avoid warning.Julian Andres Klode1-1/+1
2009-07-21python/lock.cc: Implement apt_pkg.FileLock().Julian Andres Klode1-0/+132
This is yet another context manager, this time for locking files. It can be used multiple times and features an internal counter.
2009-07-21python/lock.cc: Fix refcount in systemlock_enter and behavior of ↵Julian Andres Klode1-2/+12
systemlock_exit.
2009-07-20python/lock.cc: Introduce apt_pkg.SystemLock context manager.Julian Andres Klode1-0/+123
This is the new alternative to pkgsystem_lock() and pkgsystem_unlock(), and is the recommended one.