Commit Graph
5 Commits
Author SHA1 Message Date
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Sebastien Pouliot de2d4a2ee4 2010-05-21 Sebastien Pouliot <[email protected]>
* AsyncOperation.cs: Add checks for null delegates
	* BackgroundWorker.cs: Ensure ProgressChanged can be called before
	starting the work but not after its complete


svn path=/trunk/mcs/; revision=157698
2010-05-21 13:03:53 +00:00
Atsushi Eno 3f1b116ef3 2006-05-08 Atsushi Enomoto <[email protected]>
* AsyncOperation.cs : SynchronizationContext.OperationStarted()
	  should not be called more than once. So move it from Post() to
	  .ctor(). Thanks again to cl.


svn path=/trunk/mcs/; revision=60399
2006-05-08 11:28:22 +00:00
Atsushi Eno dd4a68fbba 2006-05-08 Atsushi Enomoto <[email protected]>
* AsyncOperation.cs : call OperationStared() at Post(). Call
	  OperationCompleted() at the finalizer. Thanks to cl.


svn path=/trunk/mcs/; revision=60398
2006-05-08 10:09:53 +00:00
Atsushi Eno 574b90cd78 2006-04-17 Atsushi Enomoto <[email protected]>
* AsyncOperation.cs,
	  AsyncOperationManager.cs
	  BackgroundWorker.cs
	  DoWorkEventArgs.cs
	  DoWorkEventHandler.cs
	  RunWorkerCompletedEventArgs.cs
	  RunWorkerCompletedEventHandler.cs :
	  Initial implementation of AsyncOperation and BackgroundWorker.

	  (However I think it does not work as expected - it depends on
	  SynchronizationContext.Post() and I doubt it works fine - the
	  callback should run synchronously while it does not look so.)

	* System.dll.sources : Added AsyncOperation.cs,
	  AsyncOperationManager.cs, BackgroundWorker.cs,
	  DoWorkEventHandler.cs, DoWorkEventArgs.cs,
	  RunWorkerCompletedEventArgs.cs and
	  RunWorkerCompletedEventHandler.cs.


svn path=/trunk/mcs/; revision=59532
2006-04-17 10:56:45 +00:00