here is an example of using db stub in mysql. This is more of a hack than a generalized advantage of dead ends, but it is the only thing I have ever met that involves creating a deadlock for a beneficial effect other than training goals and for testing automated detection methods (which, in the opinion of some, can be both useful, but when the benefits come from helping to avoid future deadlocks, so they are useful in the same sense as for studying a deadly disease in the laboratory).
source share