2 ms·
That opens an entirely new can of worms, called "file locking & unix". Usually these multiple processes have some agreed way to take their turn on writing; or
by vetinari 7y ago
That opens an entirely new can of worms, called "file locking & unix".
Usually these multiple processes have some agreed way to take their turn on writing; or they use library like sqlite (or berkeley db in the past), that library brings that mutually-agreed locking mechanism with it.