Subj : Re: recursive mutexes To : comp.programming.threads From : David Schwartz Date : Mon May 16 2005 01:00 pm "Uenal Mutlu" <520001085531-0001@t-online.de> wrote in message news:d6979h$15a$02$1@news.t-online.com... > You seem to not understand what I'm talking about. > Do you understand this fact: "Recursive locking is defined for the current > lock owning > thread only"? > Since you already have the lock you can do what ever you want since nobody > else can change anything, but you can do! You simply increment it in > Lock() > and decrement it in Unlock(). Because it is safe because you already have > it locked. Holy cow! Have you actually seen the way any recursive lock is actually implemented? DS .