diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2009-05-16 16:54:21 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-06-02 05:00:57 +0200 |
commit | c520d3845113ce4dc1a473c012288da7f2a655b8 (patch) | |
tree | 2595ce5d5b2c1ab667bd0bf0aa9251d52ce2bd4c /lib/libalpm/alpm_list.c | |
parent | 1b4135ca5d0654d18398d648ba48ecf14caa2289 (diff) | |
download | pacman-c520d3845113ce4dc1a473c012288da7f2a655b8.tar.gz pacman-c520d3845113ce4dc1a473c012288da7f2a655b8.tar.xz |
Introduce PM_TRANS_FLAG_NOLOCK
This flag indicates that the front-end will not call alpm_trans_commit(),
so the database needn't be locked. This is the first step toward fixing
FS#8905.
If this flag is set, alpm_trans_commit() does nothing and returns with
an error (that has new code: PM_ERR_TRANS_NOT_LOCKED).
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions