[Mono-bugs] [Bug 649426] Async.Sleep(1) in F sharp consumes 100% of CPU

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 30 16:00:06 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=649426#c2


Zoltan Varga <vargaz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vargaz at gmail.com
          Component|misc                        |CORLIB
            Product|Mono: Runtime               |Mono: Class Libraries

--- Comment #2 from Zoltan Varga <vargaz at gmail.com> 2010-10-30 20:00:05 UTC ---
C# testcase:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
using System;
using System.Threading;

class C
{
    static void Main ()
    {
        while (true) {
            Timer t = new Timer (delegate (object o) { }, null, 1, -1);
            Thread.Sleep (1);
        }
    }
}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

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