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 [EMAIL PROTECTED]

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

--- shadow/78500        2006-05-24 04:16:10.000000000 -0400
+++ shadow/78500.tmp.8941       2006-05-24 04:16:10.000000000 -0400
@@ -0,0 +1,79 @@
+Bug#: 78500
+Product: Mono: Runtime
+Version: 1.0
+OS: other
+OS Details: Linux 2.6.15 on armv4tl
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: BeginInvoke doesnot call async method
+
+BusyBox v1.1.0 (2006.03.13-14:12+0000) multi-call binary
+
+Mono JIT compiler version 1.1.14, (C) 2002-2005 Novell, Inc and 
+Contributors. www.mono-project.com
+        TLS:           normal
+        GC:            Included Boehm (with typed GC)
+        SIGSEGV:       normal
+        Disabled:      none
+Description of Problem:
+
+
+Steps to reproduce the problem:
+
+1. Build console application with following code.
+
+using System;
+
+namespace Project.X
+{
+       class Program
+       {
+               private delegate void StringDelegateHandler(string 
+testString);
+
+               [STAThread]
+               static void Main(string[] args)
+               {
+                       StringDelegateHandler stringDelegateHandler = new 
+StringDelegateHandler(AsyncMethod);
+
+                       IAsyncResult ar = 
+stringDelegateHandler.BeginInvoke("AsyncMethod called.", null, 
+stringDelegateHandler);
+
+                       ar.AsyncWaitHandle.WaitOne();
+                       
+                       Console.WriteLine("Press ENTER to exit ...");
+                       Console.ReadLine();
+               }
+
+               public static void AsyncMethod(string testString)
+               {
+                       Console.WriteLine(testString);
+               }
+       }
+}
+
+2. Run program
+
+Actual Results:
+AsyncMethod is never called, Program waits forever in WaitOne().
+
+Expected Results:
+AsyncMethod should be called.
+
+
+How often does this happen? 
+Always
+
+Additional Information:
+The CompletionPort Threads count in ThreadPool is 0.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to