Commit Graph
11 Commits
Author SHA1 Message Date
Sebastien Pouliot 608b4b8629 2005-05-20 Sebastien Pouliot <[email protected]>
* AsyncFlowControl.cs: Now available, as internal, in NET_1_1. This is
	required to get some methods from SecurityContext and ExecutionContext
	working.
	* CompressedStack.cs: Now includes the current CompressedStack in a new
	Capture.
	* ExecutionContext.cs: Includes more methods in NET_1_1 to enable 
	ThreadPool.UnsafeQueueUserWorkItem to work properly (i.e. without
	stack propagation).
	* Thread.cs: Made ExecutionContext field accessible from the runtime.
	Added stack propagation when Thread.Start is called.
	* ThreadPool.cs: QueueUserWorkItem now does stack propagation (done in
	the runtime), so I "fixed" UnsafeQueueUserWorkItem not to do so.


svn path=/trunk/mcs/; revision=44818
2005-05-20 14:11:04 +00:00
Sebastien Pouliot d2fd4e1398 2005-05-11 Sebastien Pouliot <[email protected]>
* CompressedStack.cs: Allow merging of an existing CompressedStack
	with the actual stack of the current Thread.
	* Thread.cs: GetCompressedStack and SetCompressedStack are public 
	before 2.0 but couldn't be seen with mono-api-info because of it's 
	LinkDemand for the ECMA public key. Removed unused CompressedStack
	private field (now part of the ExecutionContext).


svn path=/trunk/mcs/; revision=44391
2005-05-11 15:15:01 +00:00
Sebastien Pouliot 8c82f45da2 * CompressedStack.cs: GetCompressedStack is public before 2.0 but couldn't be seen with mono-api-info because of it's LinkDemand for the ECMA public key. Stack capture occurs here if none exists on the current thread.
svn path=/trunk/mcs/; revision=44272
2005-05-09 13:03:37 +00:00
Sebastien Pouliot 6e259aebea 2005-04-28 Sebastien Pouliot <[email protected]>
* AsyncFlowControl.cs: Updated wrt beta2.
	* ExecutionContext.cs: Updated wrt beta2. Class is now internal in 
	NET_1_1 to allow the compressed stack propagation to other threads.
	* CompressedStack.cs: Updated wrt beta2. Class is internal in NET_1_1 
	to allow the compressed stack propagation to other threads.
	* ContextCallback.cs: Updated wrt beta2.
	* HostExecutionContext.cs: Updated wrt beta2.
	* HostExecutionContextManager.cs: Updated wrt beta2.


svn path=/trunk/mcs/; revision=43715
2005-04-28 12:13:22 +00:00
Sebastien Pouliot 99a2b069e9 2005-03-24 Sebastien Pouliot <[email protected]>
* CompressedStack.cs: Added LinkDemand for UnmanagedCode and ECMA 
	public key on GetCompressedStack method.
	* Mutex: Added LinkDemand for UnmanagedCode to create named (system 
	wide) mutexes.
	* Thread.cs: Added LinkDemand for ECMA public key on [Get|Set]
	CompressedStack methods.
	* WaitHandle.cs: Added LinkDemand and InheritanceDemand for 
	UnmanagedCode on set Handle property.


svn path=/trunk/mcs/; revision=42209
2005-03-24 13:50:32 +00:00
Sebastien Pouliot c71dad3b2f 2004-12-20 Sebastien Pouliot <[email protected]>
* CompressedStack.cs: Implemented most todo so it's usable for CAS.
	* CompressedStackSwitcher.cs: Implemented most todo.
	* Thread.cs: Implement support for getting/setting CompressedStack.


svn path=/trunk/mcs/; revision=37974
2004-12-20 15:29:02 +00:00
Sebastien Pouliot 9dc920b0c6 2004-07-14 Sebastien Pouliot <[email protected]>
* AsyncFlowControl.cs: New structure in Fx 2.0 required in
	System.Security namespace.
	* CompressedStackSwitcher.cs: New structure in Fx 2.0 required in
	System.Security namespace.
	* ContextCallback.cs: New delegate in Fx 2.0 required in
	System.Security namespace.
	* CompressedStack.cs: Updated API for NET_2_0 profile.

svn path=/trunk/mcs/; revision=31131
2004-07-14 12:16:05 +00:00
Duncan Mak 13d1764537 Add license and copyright to all source files in corlib
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Gert Driesen 8a112edb56 * CompressedStack.cs: Added finalizer to match public API of
MS.NET

svn path=/trunk/mcs/; revision=29082
2004-06-09 04:56:20 +00:00
Sebastien Pouliot 116797e522 2004-05-13 Sebastien Pouliot <[email protected]>
* CompressedStack.cs: Added an internal constructor so a default one
	doesn't appear with corcompare.

svn path=/trunk/mcs/; revision=27276
2004-05-13 14:47:10 +00:00
Zoltan Varga e21949fa8e 2004-05-12 Zoltan Varga <[email protected]>
* CompressedStack.cs: New file.

svn path=/trunk/mcs/; revision=27173
2004-05-12 16:00:10 +00:00