help mutex
Diez B. Roggisch
nospam-deets at web.de
Thu Oct 23 05:40:26 EDT 2003
> but it doesn't work when i launch multiple instance of my script.
> the first one is running without problem.
> The other one are waiting and are never released.
>
> where is the trap ??
I think you should not try to create, but to actually *lock* the mutex. Then
the other scripts are blocked, until the first one executes. Then the next
one gets access.
I have no w32-api here, but at least thats what I remember from my old days
writing com-objects in C++....
Diez
More information about the Python-list
mailing list