diff options
author | Frederick Yin <fkfd@fkfd.me> | 2021-10-19 21:05:01 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2021-10-19 21:05:01 +0800 |
commit | 1dfa5659e322136000ac37324e52edaaef5b28ab (patch) | |
tree | 17babd40e56d32cda95e7fa5b6aab2a05fa94259 /jimbrella/lockfile.py | |
parent | 4af47111b83b3aa2ce30dd3075668f98a1030603 (diff) |
Database lock
Is a lockfile named "$DATABASE_NAME.lock". `Database._write()` prevents
race conditions by enforcing the lock, and waiting until a previous lock
is released.
Diffstat (limited to 'jimbrella/lockfile.py')
0 files changed, 0 insertions, 0 deletions