Subj : Re: Deadlock theorem To : comp.programming.threads From : David Schwartz Date : Wed May 04 2005 04:41 pm "Uenal Mutlu" <520001085531-0001@t-online.de> wrote in message news:d5bdj6$ra6$03$1@news.t-online.com... > But we've seen that this alone is not enough for practical use; the > locking > method must do some more to lead to a practical, easy-to-use, fast method > by additionally using recursive locking for the same thread. > It's all maybe some small steps only, but IMO it's a simple and mighty > method. See the archives of this group for why recursive locks are a bad idea. The short version is that to write sane code, you must know what locks you hold at the current or lower hierarchy levels. Recursive locks are only helpful if you don't know this. DS .