https://bugzilla.novell.com/show_bug.cgi?id=655361
https://bugzilla.novell.com/show_bug.cgi?id=655361#c0 Summary: ReaderWriterLockSlim with recursion: ExitReadLock wrong. Classification: Mono Product: Mono: Class Libraries Version: 2.8.x Platform: x86 OS/Version: Ubuntu Status: NEW Severity: Major Priority: P5 - None Component: Sys.Core AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Development Blocker: --- If you make more than one recurive ReadLocks in different classes with the same Instanz of ReaderWriterLockSlim(with SupportsRecursion) mono creates an Exception(System.Threading.SynchronizationLockException). I make 3 EnterReadLock calls. And than i make one ExitReadLock call. The "CurrentReadCount" and the "RecursiveReadCount" decrement?!? Why dose the CurrentReadCount decrement! I test it on Microsoft .Net and it runs perfectly. So i think this is a bug!. Tested on Ubuntu 10.10 with Mono 2.8.1, Mono Live-CD ISO from 22.11.2010, Microsoft .NET / Windows 7. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
