diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-31 12:19:53 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-31 12:19:53 +0000 |
commit | 33c5d23b814e16687808d5f2d79798fef7dc2a8a (patch) | |
tree | fe7f49222ff8f4e622cb6dfb5440ff22d888f186 /src/libstore/gc.hh | |
parent | 1328aa33077fd1cf84869e366c82b8ea1d1abb5d (diff) | |
download | guix-33c5d23b814e16687808d5f2d79798fef7dc2a8a.tar.gz |
* Don't delete active lock files.
Diffstat (limited to 'src/libstore/gc.hh')
-rw-r--r-- | src/libstore/gc.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/gc.hh b/src/libstore/gc.hh index 838188adeb..c8f908b152 100644 --- a/src/libstore/gc.hh +++ b/src/libstore/gc.hh @@ -16,7 +16,9 @@ void collectGarbage(const PathSet & roots, GCAction action, PathSet & result); /* Register a temporary GC root. This root will automatically - disappear when this process exits. */ + disappear when this process exits. WARNING: this function should + not be called inside a BDB transaction, otherwise we can + deadlock. */ void addTempRoot(const Path & path); |