* System.Reflection.Emit/AssemblyBuilder.cs: Add missing GetName(bool)
* System.Threading/ThreadPool.cs: Add missing UnsafeQueueNativeOverlapped
This is not a big issue since the missing API are unusable from
application code (and obviously not needed inside the platform code).
However it makes validating the tuned assemblies easier :)
* ThreadPool.cs (QueueUserWorkItem): properly throw
an ANE instead of triggering a NRE when being passed a null callback.
svn path=/trunk/mcs/; revision=147934
* 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
* ExecutionContext.cs: Don't use SecurityContext and don't expose
AsyncFlowControl for NET_2_1
* ThreadAbortException.cs: Remove ExceptionState from NET_2_1
* Thread.cs: Don't expose ApartmentState and remove Suspend and
Resume methods for NET_2_1
* ThreadPool.cs: Remove GetAvailableThreads and Unsafe* methods
for NET_2_1
svn path=/trunk/mcs/; revision=142481
* Thread.cs: Refactor calling Moonlight's OnUnhandledException to
make sur the delegate it not called from a [SecuritySafeCritical]
caller.
* ThreadPool.cs: Reuse the above code for QueueUserWorkItem.
Original patch from Alan McGovern
svn path=/trunk/mcs/; revision=135866
* 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
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: 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
* corlib.dll.sources: added StreamAsyncResult and FileStreamAsyncResult.
* System/Environment.cs: updated corlib version.
* System.IO/FileStream.cs: added support for asynchronous I/O without
using the OS native libraries if available.
* System.IO/FileStreamAsyncResult.cs: IAsyncResult for asynch. I/O.
* System.IO/MonoIO.cs: added BeginRead/Write, GetSupportsAsync. Open
has now a new parameter to tell ifthe file will be used for asynch.
operations.
* System.IO/Stream.cs: BeginRead/Write do not use delegates. They just
are actually synchronous.
* System.IO/StreamAsyncResult.cs: IAsyncResult for Stream.
* System.Threading/NativeOverlapped.cs: added 2 new internal fields.
* System.Threading/Overlapped.cs: implemented, but it's not used.
* System.Threading/ThreadPool.cs: implemented BindHandle.
svn path=/trunk/mcs/; revision=24069
* ThreadPool.cs: correctly create a TimeSpan with provided the number of
milliseconds.
* WaitHandle.cs: fixes for WaitAny/All and TimeSpan.
svn path=/trunk/mcs/; revision=15535
* RegisteredWaitHandle.cs: check that the callback is not null before
invoking.
* ThreadPool.cs: fixed timeout -> TimeSpan conversions (closes bug
#43963). Queue the item before setting the handle. If there's a timeout,
avoid trying to Dequeue, getting the exception et al, just continue the
loop.
svn path=/trunk/mcs/; revision=15016
* Monitor.cs:
* Thread.cs:
* ThreadPool.cs:
* Timer.cs:
* WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
ms, not Milliseconds.
svn path=/trunk/mcs/; revision=9533
* ThreadPool.cs: now the monitor thread is not sleeping and checking if
more worker threads needed. It waits on _DataInQueue. If (and only if)
there's data in the queue it checks if more worker threads needed and
then sleeps 5 before waiting for queued data again.
svn path=/trunk/mcs/; revision=8500
* Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending
the threadstate enum.
* ThreadPool.cs: Now using the internal Isthreadpoolthread property
* ThreadState.cs: removed non-standard enum (ThreadPoolThread)
svn path=/trunk/mcs/; revision=3805
* ThreadState.cs: Added enum for threadpool thread
* Thread.cs: changed the set/clr_state to be internal (used from threadpool)
* Thread.cs: Added IsThreadPoolThread
* ThreadPool.cs: Implementation of QueueUserWorkItem
svn path=/trunk/mcs/; revision=3803
* Thread.cs: DataSlot uses a single system TLS slot, and a
hashtable per thread. Some minor changes to reflect the new
internal calls using the new IO library, and the newly-supported
bool returns from internal calls.
* Monitor.cs: Use bool returns from internal calls now they are
supported by the runtime. Coalesce enter with the try_enter
internal call.
2001-11-26 Dick Porter <[email protected]>
* LocalDataStoreSlot.cs: No need to delete a system TLS slot in
the finalise routine any more
svn path=/trunk/mcs/; revision=1441