richfitz / thor

:zap::computer::zap: R client for the Lightning Memory-Mapped Database

Home Page:https://richfitz.github.io/thor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make write-lock wait interruptible, support timeout

gaborcsardi opened this issue · comments

It would be great to allow the user to interrupt a

txn <- env$begin(write = TRUE)

wait, if another process is already running a write transaction.

Relatedly, it would be great to have a timeout for this lock as well.

It seems to me that these are not supported by lmdb, so this is likely a wontfix, so feel to close. Maybe we could ask about this in the lmdb issue tracker, but I am having a hard time finding it....