setTransientDeadlockPriority(priority: Integer);
The setTransientDeadlockPriority method of the Process class sets the priority value to be used when dealing with deadlocks involving shared transient objects. Negative and positive values are allowed. The default deadlock priority is zero (0).
In a deadlock situation, the process with the lower value is given the deadlock exception.
This method can be called only on the process instance of the current process. If you call it on an instance for another process, an exception is raised.
See also the