[Mono-bugs] [Bug 540536] System.Threading.Timer fails with Unhandled Exception: System.NotSupportedException: Linked away

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 20 00:08:32 EDT 2009


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

User ed at anuff.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=540536#c1





--- Comment #1 from Ed Anuff <ed at anuff.com>  2009-09-19 22:08:29 MDT ---
It appears that this problem occurs if any of the WaitOne() methods of
WaitHandle are called with exitContext=True, which is what the
SchedulerThread() does.  I created an alternate implementation of the Timer
class from the Mono source and changed it so that it called WaitOne() with
exitContext=False and it worked.

The purpose of the exitContext flag is described here:

http://msdn.microsoft.com/en-us/library/kzy257t0.aspx

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


More information about the mono-bugs mailing list