https://bugzilla.novell.com/show_bug.cgi?id=651546

https://bugzilla.novell.com/show_bug.cgi?id=651546#c8


--- Comment #8 from Rolf Bjarne Kvinge <[email protected]> 2010-11-05 12:21:26 
CET ---
There is a bug for sure, Monitor.Enter should not leave the lock locked if it
throws an exception.

I see now that my explanation might have been somewhat confusing - our problem
is that we return from mono_monitor_try_enter_internal with a pending TAE and
with the lock locked. Then the monitor_enter wrapper throws the TAE. Maybe it
would work if the monitor_enter wrapper checks for TAE only if the monitor
wasn't locked, something like the try_enter_with_atomic_var icall?

-- 
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

Reply via email to