how to keep one instance???
Heiko Wundram
heikowu at ceosg.de
Tue May 18 08:52:51 EDT 2004
Am Dienstag, 18. Mai 2004 14:46 schrieb Jeff Epler:
> Note that there are often race conditions here---if two copies of the
> application start nearly simultaneously, both may detect that no
> other copy of the app exists. If someone wants to tell me the way to
> get this right in the context of Unix/X11, please speak up!
Lock files in /tmp? Simply do file-based locking the daemon PID-file style...
If you need code (which is race-free) to handle this, mail me, and I'll
gladly send it to you.
Heiko.
More information about the Python-list
mailing list