3 ms·
You could always have a lock file alongside the main to signal to other instances of the app that the file's in use. A bit janky, but workable.
by yellowapple 6y ago
You could always have a lock file alongside the main to signal to other instances of the app that the file's in use. A bit janky, but workable.
- mjw1007 6y agoThat's no worse than what applications often already do when they use a simpler file format. But you also have to worry about SQLite (reasonably) refusing to operate because it tries to make a locking call and gets an error response. I think there are options to turn that off, though.