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

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


--- Comment #1 from Igor Plotnikov <[email protected]> 2010-10-26 22:05:06 UTC 
---
Sorry, should be Async.Sleep(1). If called with 0, results in 100% CPU
consumption on both .Net and Mono

-----------
#light

open System
open System.IO



[<EntryPoint>]
let main (args : string[]) =

    let fileread =
        async {

                while true do
                    do! Async.Sleep(1)
                ()
        }
     |> Async.RunSynchronously

    0

-- 
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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to