Fix concurrency issues in pkgdb: only allow 1 write transaction at the same time.

This implementation relies on a POSIX named semaphore, which is also
required by xbps-rindex(8).
This commit is contained in:
Juan RP
2014-02-23 08:23:14 +01:00
parent bc2bada045
commit 4d1cdcac0c
9 changed files with 115 additions and 16 deletions

1
TODO
View File

@@ -2,7 +2,6 @@ libxbps:
- transaction: avoid fetching the whole pkg when updating and only fetch
modified files from target pkg.
- Add support to handle 'shlib-requires' and 'shlib-provides'.
- Concurrency issues with pkgdb.
xbps-create:
- Move all configuration files to <prefix>/share/<pkgname>/conf/<cffile>.