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


Paolo Molaro <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
            Summary|[Regression] System.Threading.Timer leaks thread|Threadpool 
threads race?
                   |handles...                                      |




--- Comment #2 from Paolo Molaro <[EMAIL PROTECTED]>  2007-11-19 04:30:06 MST 
---
So this is actually just a side effect of the new Timer code using threadpool
threads. Here is an updated test case:
using System;
using System.Threading;
using System.Diagnostics;

class MainClass {
        public static void Main(string[] args) {
                while (true) {
                        Thread.Sleep (5000);
                        ThreadPool.QueueUserWorkItem (new WaitCallback
(tmr_cb), null);
                }
        }

        private static void tmr_cb(object state) {
                Console.WriteLine("hello");
                Process p = Process.Start ("mono", "--wapi=hps");
                p.Close ();
        }
}


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