Commit Graph

3 Commits

Author SHA1 Message Date
Nick Mathewson d01d9643f0 Don't try to lock an already-locked lockfile.
Also, remove a dbg
2021-08-09 10:06:41 -04:00
Nick Mathewson af750e2010 Implement initial persistence for circuit timeout data
There's more to do here: we never actually store the data we get
here, and we won't work at all when somebody else has the lock.
2021-08-06 16:39:50 -04:00
Nick Mathewson bb6d38cde0 Initial persistent-state-manager code.
This commit defines a crate (tor-persist) that describes an abstract
key-value store using serde, plus an on-disk implementation using
Toml and fslock.
2021-08-06 16:39:50 -04:00