Re: RWLock semantics (from ticket #6413)

2008-06-28 Thread Tomas Kopecek
Malcolm Tredinnick napsal(a): > > On Wed, 2008-06-25 at 11:54 +0200, Tomas Kopecek wrote: >> Hello, >> In django.utils.synch is located RWLock. When you try enter the same >> lock twice (probably in some subprocedure) you can't. I think that >> correct semantics is that you had acquired this

Re: RWLock semantics (from ticket #6413)

2008-06-27 Thread Malcolm Tredinnick
On Wed, 2008-06-25 at 11:54 +0200, Tomas Kopecek wrote: > Hello, > In django.utils.synch is located RWLock. When you try enter the same > lock twice (probably in some subprocedure) you can't. I think that > correct semantics is that you had acquired this lock in this thread so > you should

RWLock semantics (from ticket #6413)

2008-06-25 Thread Tomas Kopecek
Hello, In django.utils.synch is located RWLock. When you try enter the same lock twice (probably in some subprocedure) you can't. I think that correct semantics is that you had acquired this lock in this thread so you should get it again with no problem. Other (but not preferred) variant is