* 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
* Thread.cs: Added property to get the ExecutionContext in 2.0. Fixed
GetCompressedStack and made SetCompressedStack available (as internal)
before NET_2_0.
svn path=/trunk/mcs/; revision=43721
* Thread.cs: Do argument checking for Current[UI]Culture to make
the exception more clear for a null value being set.
svn path=/trunk/mcs/; revision=42535
* 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
* 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
* Thread.cs: Change type of culture_info and ui_culture_info to
IntPtr. Implement correct culture handling for the UI culture as
well.
svn path=/trunk/mcs/; revision=37808
* Thread.cs: Optimize CurrentCulture to avoid initializing the
serialization infrastructure in the common case when the culture is
not set explicitly.
svn path=/trunk/mcs/; revision=37747
* Thread.cs: Changed an imperative security demand to declarative
(unsupported) so it doesn't (for now) call the security runtime.
svn path=/trunk/mcs/; revision=33355
* Thread.cs: Hold a lock in GetNamedDataSlot. Fixes bug 61582,
based on patch by S�bastien Robitaille
([email protected]). Also fix instances of
lock(typeof(Thread)) to lock a private object instead.
svn path=/trunk/mcs/; revision=31181
Removed state changes in Sleep and Join. The state change is now done
in the icall. For accessing to internal fields lock with synch_lock
instead of this, which can be a source of deadlocks.
svn path=/trunk/mcs/; revision=29605
* Thread.cs:
(CurrentPrincipal): lock on CurrentThread, not typeof (Thread) and set
the thread IPrincipal if we get it from the AppDomain.
svn path=/trunk/mcs/; revision=29247
* Thread.cs: Added missing MemoryBarrier (only for 1.1) and SpinWait to please
corcompare. Both throw a NotImplementedException.
* ThreadPool.cs: Added missing UnsafeRegisterWaitForSingleObject methods (4
overloads) to please corcompare. All throw a NotImplementedException.
svn path=/trunk/mcs/; revision=27293
* Thread.cs: Add fields added to unmanaged MonoThread here as well.
Fixes random errors caused by memory corruption.
svn path=/trunk/mcs/; revision=22906
* Thread.cs: delayed thread creation until Start is called. If we
don't do that and Start() is not called, the thread is leaked. First
step towards fixing bug #53078.
svn path=/trunk/mcs/; revision=22377
* String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
Replace, ToLower, ToUpper and Equals use the correct CultureInfo.
2003-12-01 Dick Porter <[email protected]>
* CultureInfo.cs: Culture name creation is case-insensitive.
Implemented CurrentCulture and CurrentUICulture.
* CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
for combining characters.
2003-12-01 Dick Porter <[email protected]>
* Thread.cs: Implement CurrentCulture and CurrentUICulture
2003-12-01 Dick Porter <[email protected]>
* CaseInsensitiveComparer.cs: Construct the default comparers when
they're needed, to avoid a dependency loop with CultureInfo's
constructor.
svn path=/trunk/mcs/; revision=20663
methods. They are used in CrossAppDomainChannel to save and restore
thread's local data when switching between domains.
svn path=/trunk/mcs/; revision=19336
* Thread.cs: Make sure a reference to the ThreadStart delegate is
held. There's no telling how long it will be before
Thread.Start() is called, and GC might destroy the delegate.
Thread() and Start() need to be rewritten so that the runtime
creates the new thread when Start() is called, which will simplify
the code a great deal.
svn path=/trunk/mcs/; revision=13442
* Console.cs: Make stderr, stdout and stdin use synchronized
versions of the their readers/writers.
2003-03-20 Miguel de Icaza <[email protected]>
* Thread.cs (CurrentCuluture): use the invaraint culture instead
of "" for the current_culture setting.
2003-04-05 Miguel de Icaza <[email protected]>
* TextWriter.cs: Implemented Synchronized method.
* TextReader.cs: Implemented Synchronized method.
svn path=/trunk/mcs/; revision=13203