diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-31 12:58:08 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-01-31 12:58:08 +0000 |
commit | 8b3539bc11639f2feaebdbb2fcbc9578806f5702 (patch) | |
tree | 527b7c22dee975a89cfd8ef245f650930ec13067 /tests/crypto | |
parent | Merge pull request #629 (diff) | |
download | monero-8b3539bc11639f2feaebdbb2fcbc9578806f5702.tar.xz |
core: prevent the database from being used by multiple daemons
A boost lock is used to determine whether more than one process
wants to access the database. The boost file_lock doesn't seem
to like locking directories, so we use an arbitrary file in it.
This allows to still run two daemons if they have different
database directories (ie, LMDB/BDB, different data directories).
Diffstat (limited to 'tests/crypto')
0 files changed, 0 insertions, 0 deletions