aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-01-31 12:58:08 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-01-31 12:58:08 +0000
commit8b3539bc11639f2feaebdbb2fcbc9578806f5702 (patch)
tree527b7c22dee975a89cfd8ef245f650930ec13067 /contrib
parentMerge pull request #629 (diff)
downloadmonero-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 'contrib')
0 files changed, 0 insertions, 0 deletions