[Mono-bugs] [Bug 476146] New: System.Threading.SpinLock.TryEnter(int milliSeconds) may not enter spinlock even if it is available

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 16 08:32:03 EST 2009


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


           Summary: System.Threading.SpinLock.TryEnter(int milliSeconds)
                    may not enter spinlock even if it is available
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jan.oravec at 6com.sk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6)
Gecko/2009021517 Gentoo Firefox/3.0.6

In certain circumstances (extremely slow or heavily loaded machine), thread
running TryEnter(int) may get switched right after starting stopwatch and
returning back after time has elapsed. In certain applications, this may
prevent application doing any progress and keeping machine busy.

TryEnter(int) should take spinlock if TryEnter() would take it in same
circumstances.


Reproducible: Always

Steps to Reproduce:
1.
2.
3.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list