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. :)
In reply to Re^2: Reading and writting data in a text file with several scripts simultaneously time synchronization problem
by boftx
in thread Reading and writting data in a text file with several scripts simultaneously time synchronization problem
by thanos1983
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |