[Mono-bugs] [Bug 56351][Min] New - Thread.Sleep(Timeout.Infinite) uses 99% of CPU

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 1 Apr 2004 15:26:34 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by reali@acm.org.

http://bugzilla.ximian.com/show_bug.cgi?id=56351

--- shadow/56351	2004-04-01 15:26:34.000000000 -0500
+++ shadow/56351.tmp.32395	2004-04-01 15:26:34.000000000 -0500
@@ -0,0 +1,23 @@
+Bug#: 56351
+Product: Mono: Runtime
+Version: unspecified
+OS: SuSE 8.1
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: reali@acm.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Thread.Sleep(Timeout.Infinite) uses 99% of CPU
+
+calling Thread.Sleep(Timeout.Infinite) (which internally invokes 
+Sleep_internal in mono/io-layer/threads.c) causes the CPU usage to jump to 
+99% instead of 0%
+
+This is not really bad, but quite annoying.