StanleyB wrote:Hi.
I have a situation in which I need to prevent other instances of eValid from interfering with my current instance, what do I do?
Thanks
Thanks for posting.
Some test scenarios do, indeed, require multiple simultaneous eValid executions on the desktop.
And, as you know, there is only one desktop and so if two scripts both need to use the desktop, perhaps to handle some modal dialog, you do have a potential problem.
The computer science guys call this a "deadly embrace". A is waiting for B which is waiting for A which is waiting for B, etc.
eValid provides a script capability to do a mutex (mutual exclusion) operation with the Lock and Unlock commands.
Here is the manual page:
http://www.evalid.us/Products/Documenta ... nlock.htmlIt is generally a good idea to use the Lock N version of this command, with N set to be 100,000 msec, i.e. 100 sec, as follows:
Lock 100000
This usually prevents a deadly embrace among Lock/Unlock commands.
-- eValid Support