Commit Graph
13 Commits
Author SHA1 Message Date
Robert Jordan 14904e434f In Test/System.Timers:
2007-10-30  Robert Jordan  <[email protected]>

	* TimerTest.cs: Enable test for bug #82701/#325368.

In System.Timers:
2007-10-30  Robert Jordan  <[email protected]>

	* Timer.cs (set_Enabled): Allow setting Enabled from within
	the Elapsed event handler. Fixes #325368.


svn path=/trunk/mcs/; revision=88437
2007-10-30 02:34:38 +00:00
Dick Porter d872700d75 2007-09-07 Dick Porter <[email protected]>
* Timer.cs: This calls Thread methods in the finalizer too, so use
	the same workaround as in r85425.



svn path=/trunk/mcs/; revision=85474
2007-09-07 13:27:23 +00:00
Gert Driesen ae5a5dd2e6 * Timer.cs: On 2.0 profile, only allow 32-bit interval in ctor.
svn path=/trunk/mcs/; revision=85357
2007-09-05 13:13:38 +00:00
Robert Jordan db6bf652fe 2006-12-19 Robert Jordan <[email protected]>
* Timer.cs: Apply the latest patch at attached to bug #77847.


svn path=/trunk/mcs/; revision=69727
2006-12-19 11:23:23 +00:00
Gonzalo Paniagua Javier fbe3212ca7 2006-12-19 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: Fixes race condition (bug #77847). Patch from Robert Jordan.


svn path=/trunk/mcs/; revision=69726
2006-12-19 10:40:55 +00:00
Robert Jordan 2d16546be9 2006-03-19 Robert Jordan <[email protected]>
* Timer.cs: Fix race condition of the wait handle object.
	Fixes bug #77847.


svn path=/trunk/mcs/; revision=69357
2006-12-11 20:11:41 +00:00
Sebastien Pouliot eeb2834d7b 2005-11-16 Sebastien Pouliot <[email protected]>
* TimersDescriptionAttribute.cs: Revert Description property fix 
	because it doesn't always returns null (exact conditions unknown).


svn path=/trunk/mcs/; revision=53123
2005-11-16 15:38:47 +00:00
Sebastien Pouliot 4b213fe79e 2005-11-16 Sebastien Pouliot <[email protected]>
* ElapsedEventHandler.cs: Remove [Serializable] from 2.0 profile.
	* Timer.cs: Add [Browsable(false)] to SynchronizingObject property for
	2.0 profile.
	* TimersDescriptionAttribute.cs: Description always returns null.


svn path=/trunk/mcs/; revision=53118
2005-11-16 14:26:14 +00:00
Kornél Pál 06fdd0f782 Fixed bug #75068
svn path=/trunk/mcs/; revision=45121
2005-05-27 18:30:19 +00:00
Lluis Sanchez 1c38fe8835 * Timer.cs: The timer thread must be a background thread.
This fixes #58816.

svn path=/trunk/mcs/; revision=29594
2004-06-15 10:15:00 +00:00
Gonzalo Paniagua Javier ec3393747f 2004-05-11 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: if AutoReset, disable the timer before adding the callback
	to the ThreadPool. Patch by Tim Fries <[email protected]>. Fixes bug
	#57993.

svn path=/trunk/mcs/; revision=27114
2004-05-11 16:06:42 +00:00
Gonzalo Paniagua Javier 554d98db57 2003-03-17 Gonzalo Paniagua Javier <[email protected]>
* Timer.cs: Elapsed is an event. Added a few attributes.

svn path=/trunk/mcs/; revision=12620
2003-03-17 16:02:30 +00:00
Gonzalo Paniagua Javier 5d07543d21 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog:
	* ElapsedEventArgs.cs:
	* ElapsedEventHandler.cs:
	* Timer.cs:
	* TimersDescriptionAttribute.cs: New files.

	Don't use timers yet. If you do, your program will never end.

svn path=/trunk/mcs/; revision=9103
2002-11-20 02:14:56 +00:00