http://bugzilla.novell.com/show_bug.cgi?id=616901

http://bugzilla.novell.com/show_bug.cgi?id=616901#c0


           Summary: AppDomain.ProcessExit timeout not implemented
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---
           Blocker: ---


http://msdn.microsoft.com/ru-ru/library/system.appdomain.processexit.aspx

"The total execution time of all ProcessExit event handlers is limited, just as
the total execution time of all finalizers is limited at process shutdown.The
default is three seconds, which can be overridden by an unmanaged host."

Run this simple example:

        public static void Main(string[] args)
        {
            AppDomain.CurrentDomain.ProcessExit += delegate
            {
                Thread.Sleep(5000);
                Console.WriteLine("Hello!");
            };
        }


mono prints "Hello!" after patiently waiting for 5 seconds and exits

MS .NET exits after 3 seconds without printing anything

I'm not sure whether it's a compatibility enhancement or a bug report.

-- 
Configure bugmail: http://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