multiple instance on Unix

Nigel King nigel.king at orthogonsystems.com
Wed Sep 29 19:38:06 CEST 2004


Hi,
I have (my son has!) implemented protection against multiple instances 
causing havoc by creating a directory. This fails if it exists and thus 
in a single instruction one gets both the acquire and the test.

Windows has it's mutex which solves the problem. Is there any better 
version for UNIX.

Thanks

Nigel King




More information about the Python-list mailing list