* Thread.cs: Make the execution context field thread-static to
avoid it being shared between app domains.
2009-04-21 Mark Probst <[email protected]>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=132308
* Thread.cs: For 2.1 ensure exceptions in threads are handled using the
UnhandledException event mechanism in System.Windows.Application instead
of crashing the application.
svn path=/trunk/mcs/; revision=132166
* NumberFormatter.cs: Keep the current thread's number formatter
as a ThreadStatic member.
2009-04-18 Mark Probst <[email protected]>
* Thread.cs: Don't keep the current number formatter here
because it's shared between app domains.
svn path=/trunk/mcs/; revision=132067
2009-04-18 Mark Probst <[email protected]>
* Thread.cs: Make the abort exception state a GC handle, to
properly separate AppDomains. Add internal method for getting the
state object.
* ThreadAbortException.cs: Get the abort exception state via the
method in Thread.
2009-04-18 Mark Probst <[email protected]>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=132063
* Thread.cs (set_CurrentCulture): If the culture is read-only, cache the result
of serializing it.
(set_CurrentUICulture): Ditto.
svn path=/trunk/mcs/; revision=92335
* Thread.cs: Assign the ManagedThreadId when it is asked for,
rather than in the constructor, so ThreadPool threads also work.
Fixes bug 335579 (and doesn't break 325367 or 325566)
svn path=/trunk/mcs/; revision=88077
* Thread.cs: Keep ManagedThreadId constant over the lifetime of a
Thread. Patch from [email protected] fixing bugs 325367 and
325566.
svn path=/trunk/mcs/; revision=86337
* Thread.cs: Throw ThreadStateException when retrieving ApartmentState
or IsBackground if thread is stopped. Fixes bug #81658.
2007-08-10 Gert Driesen <[email protected]>
* ThreadTest.cs: Enabled test for bug #81658.
svn path=/trunk/mcs/; revision=83806
* Thread.cs: updates for LocalDataStoreSlot: we use an array as
storage for the slots now so that LocalDataStoreSlot objects an be
garbage collected if the user doesn't keep a reference to them.
svn path=/trunk/mcs/; revision=58020
* Thread.cs: Added new attributes, [ReliabilityContract] for
destructor and [Obsolete] for [Get|Set]CompressedStack, that were
added in 2.0 RC.
svn path=/trunk/mcs/; revision=51331
* System.Threading/Thread.cs: check that the culture is valid for
formatting (ie, (!neutral || invariant)).
* System.Globalization/CultureInfo.cs: added internal method to check
for a culture valid for formatting. Correctly get the calendar type.
Before it was always type 0. Thanks to Mcs for pointing this out.
svn path=/trunk/mcs/; revision=45611
* 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
* TermInfoDriver.cs: Removed warning.
* Array.cs (Resize<T>, TrueForAll<T>, ConvertAll<TInput,TOutput>,
FindLastIndex<T>: Parameter names are normative.
Fix coding style ("Method<T>" not "Method <T>")
Throw argument exceptions per argument.
(FindAll): Fix bug, actually return the values that were computed,
not a short version of the original array.
2005-05-19 Miguel de Icaza <[email protected]>
* Thread.cs: REmove warnings.
svn path=/trunk/mcs/; revision=44731
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)
svn path=/trunk/mcs/; revision=44558
* Thread.cs: Moved all checks done inside sync_lock to unmanaged code.
Merged Thread_internal and Start_internal into a single icall, which
does all work.
based on patch by Sbastien Robitaille
svn path=/trunk/mcs/; revision=44427