|
As "Visu" said , there're various possibilities of detecting multiple instances . One of these coul be a semaphor declaration . To avoid runing of another instances , you can declar a semaphor with special name and at the bigining just create your named semaphor and if the API return by ALLREADY_EXIST error , it shows that another instance has been run later .
|