Concurrency, I guess

dtecmeister at dtecmeister at
Fri Jan 20 17:39:45 CET 2006

Sometimes creating files and separate processes are all that's needed.
Write the settings into a config file with the web process and read
them from the file with the sync process.  Then create a second file at
the start of the process and delete it once the process is complete.
Lastly run a procedure before the file creation to insure it doesn't
exist.  If it does check the creation time.  If it's older than
(however long the process should take plus a pad.) then killall on the
process, notify of the problem and procede on.


More information about the Python-list mailing list