I read this: http://stackoverflow.com/questions/1109870/python-singleton-into-multiprocessing but I didn't find the solution of my problem. I have to run the same program (not process) many times in one time. Programs work in the same electronic devices. I must synchronized this programs. Only one program can use device in the moment.
Have you got any suggestions how I can resolve this problem?