mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 14:13:09 +00:00
add files lock
This commit is contained in:
parent
9184077262
commit
61d01f89af
@ -31,7 +31,6 @@ template lockKeyImpl(key: KeyId, blk: untyped): untyped =
|
||||
klock.locked = true
|
||||
exists = true
|
||||
hasLock = klock.locked
|
||||
os.sleep(1)
|
||||
|
||||
`blk`
|
||||
finally:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user