in reply to Re: Reading and writting data in a text file with several scripts simultaneously time synchronization problem
in thread Reading and writting data in a text file with several scripts simultaneously time synchronization problem

Since he said he would like to use a DB, he can take full advantage of atomic inserts to implement the semaphore, thereby avoiding all flock issues by not using it. :)

It helps to remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
  • Comment on Re^2: Reading and writting data in a text file with several scripts simultaneously time synchronization problem