I wonder if this library should create or use lock files like /etc/passwd.lock most passwd tools do respect those files. The cache could be more robust by locking on every read, as well as automagically invalidate all entries as soon as a lockfile appears (inotify) by another application.
Any thoughts on that?
I wonder if this library should create or use lock files like
/etc/passwd.lockmost passwd tools do respect those files. The cache could be more robust by locking on every read, as well as automagically invalidate all entries as soon as a lockfile appears (inotify) by another application.Any thoughts on that?