Commit Graph
16 Commits
Author SHA1 Message Date
Marek Safar 0c22492321 Remove NIE from SetWaitNotificationRequired. Fixes #13742 2013-08-07 20:02:03 +02:00
Marek Safar 39c48d5e83 Remove NET_2_1 default (broken) context 2013-01-08 17:27:19 +01:00
Jonathan Pryor 9d66910069 [corlib] Allow SynchronizationContext.Current to work on MfA
For the main (UI) thread, make SynchronizationContext.Current return
the Android.App.Application.SynchronizationContext property.
2012-06-01 12:48:53 -04:00
Miguel de Icaza 5e63701d4b 2009-11-02 Miguel de Icaza <[email protected]>
* Jumbo patch to drop support for pre-NET_2_0 code:

        Remove ONLY_1_1 code
        Remove NET_1_0 only code
        Remove NET_2_0 defines assuming the value is true.


svn path=/trunk/mcs/; revision=145230
2009-11-02 23:22:40 +00:00
Jb Evain f3e2affb84 2009-02-18 Jb Evain <[email protected]>
* SynchronizationContext.cs: add NET_2_1 SetThreadStaticContext
	method, even if already obsolete.


svn path=/trunk/mcs/; revision=127285
2009-02-18 16:14:26 +00:00
Andreia Gaita 1899bad880 2009-01-30 Andreia Gaita <[email protected]>
* SynchronizationContext.cs: Remove moonlight hacks, dispatcher should
	be able to handle this now.

svn path=/trunk/mcs/; revision=125170
2009-01-30 22:52:29 +00:00
Geoff Norton 082e8d2122 2008-11-25 Geoff Norton <[email protected]>
* SynchronizationContext.cs: A temporary horrible hack to SyncContext
        to hard-wire all calls back to the main thread (moonlight-only) so that
        we can use our unit test harness.  This will be fixed for 2.1 when we
        implement Dispatcher properly.

svn path=/trunk/mcs/; revision=119981
2008-11-25 18:04:25 +00:00
Atsushi Eno c70ee3786a 2007-10-24 Atsushi Enomoto <[email protected]>
* SynchronizationContext.cs : removed SendOrPost().


svn path=/trunk/mcs/; revision=88054
2007-10-24 08:32:21 +00:00
Jonathan Pobst 7dc885163c 2007-09-25 Jonathan Pobst <[email protected]>
* SynchronizationContext.cs: Implement SetSynchronizationContext.

2007-09-25  Jonathan Pobst  <[email protected]>

	* AsyncOperationManager.cs: Tie the SynchronizationContext here to
	SynchronizationContext.Current.

2007-09-25  Jonathan Pobst  <[email protected]>

	* AsyncOperationManagerTest.cs: Add test for SynchronizationContext.

2007-09-25  Jonathan Pobst  <[email protected]>

	* System_test.dll.sources: Added AsyncOperationManagerTest.cs.

svn path=/trunk/mcs/; revision=86329
2007-09-25 14:38:37 +00:00
Atsushi Eno d901d22896 2004-04-28 Atsushi Enomoto <[email protected]>
* SynchronizationContext.cs : use ThreadPool in Post(), as suggested
	  by cl (bug #78139).


svn path=/trunk/mcs/; revision=60032
2006-04-28 12:31:05 +00:00
Marek Safar 1f932097b3 2005-10-23 Marek Safar <[email protected]>
* SynchronizationContext.cs: A few simple fixes.

svn path=/trunk/mcs/; revision=52073
2005-10-23 09:24:28 +00:00
Sebastien Pouliot 82ca1bfdf6 2005-05-26 Sebastien Pouliot <[email protected]>
* SynchronizationContext.cs: Re-introduced SendOrPost method as it's 
	being used in System.Web.Services.


svn path=/trunk/mcs/; revision=45043
2005-05-26 13:11:33 +00:00
Sebastien Pouliot 4bd4f7f6eb 2005-05-26 Sebastien Pouliot <[email protected]>
* SynchronizationContext.cs: Updated to beta2 API so it doesn't depend
	on the switcher structure anymore (which will be removed from the 
	build).


svn path=/trunk/mcs/; revision=45040
2005-05-26 12:40:19 +00:00
Sebastien Pouliot 80a0e22519 2005-05-22 Sebastien Pouliot <[email protected]>
* corlib.dll.sources: Renamed CER to Cer to match 2.0 beta2.


svn path=/trunk/mcs/; revision=44891
2005-05-22 15:20:04 +00:00
Sebastien Pouliot 80d81ecdcd 2004-08-12 Sebastien Pouliot <[email protected]>
* CompressedStackSwitcher.cs: Added missing [ComVisible] and
	[ReliabilityContract] attributes.
	* ExecutionContext.cs: Added missing [ComVisible] and
	[Serializable] attributes.
	* HostExecutionContext.cs: Added missing [ComVisible] attribute.
	* HostExecutionContextManager.cs: Added missing [ComVisible] and
	[ReliabilityContract] attributes.
	* HostExecutionContextSwitcher.cs: Added missing Equals and
	GetHashCode methods and [ComVisible] and [ReliabilityContract] attrs.
	* ParameterizedThreadStart.cs: New delegate in NET_2_0.
	* SendOrPostCallback.cs: Added missing [ComVisible] attribute.
	* SynchronizationContext.cs: Added new (2.0 beta1) methods Copy and
	WaitHelper. Added missing [ComVisible] and [ReliabilityContract] attrs.
	* SynchronizationContextSwitcher.cs: Added missing [ComVisible] and
	[ReliabilityContract] attributes.

svn path=/trunk/mcs/; revision=32264
2004-08-12 12:53:35 +00:00
Lluis Sanchez ca0d337e32 * ExecutionContext.cs, ExecutionContextSwitcher.cs,
SynchronizationContext.cs, SynchronizationContextSwitcher.cs: Added 2.0
	  stubs.

svn path=/trunk/mcs/; revision=31536
2004-07-28 09:04:08 +00:00