2003-03-18 Dick Porter * Thread.cs: Keep the thread state updated in all the places that require it. (Suspend, Resume and Interrupt not handled yet) 2003-03-03 Lluis Sanchez Gual * Thread.cs: Changed implementation of CurrentContext, adapted to the changes in the runtime. 2003-02-19 Gonzalo Paniagua Javier * Thread.cs: implemented CurrentContext. 2003-02-17 Gonzalo Paniagua Javier * Thread.cs: made the thread_id for the current thread accesible through an internal property. 2003-02-17 Dick Porter * Thread.cs: Added the Start semaphore field to the class. Update the thread state after Start() has returned, not before. 2003-02-13 Zoltan Varga * Thread.cs (Sleep): Timeout.Infinite is a value argument. 2003-02-11 Dick Porter * Monitor.cs: Infinite wait is Infinite, not 0 ms 2003-02-10 Gonzalo Paniagua Javier * Thread.cs: fixed bug #37759. 2003-02-07 Patrik Torstensson * Timer.cs: Set the Background thread flag for the timer thread 2003-02-05 Patrik Torstensson * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool. 2003-02-04 Lluis Sanchez Gual * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods. Tue Jan 28 17:55:59 CET 2003 Paolo Molaro * Thread.cs: delay-init datastorehash. 2003-01-10 Patrik Torstensson * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a model more equal to the MS one. 2002-12-10 Dick Porter * Monitor.cs: * Thread.cs: * ThreadPool.cs: * Timer.cs: * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to ms, not Milliseconds. 2002-12-07 Martin Baulig * Timer.cs: Make it actually work; now it no longer sets your application on fire if you use a zero periode and Timer.Change() actually works. 2002-11-11 Gonzalo Paniagua Javier * Timer.cs: implemented more stuff. It works now. 2002-10-25 Zoltan Varga * Thread.cs: Implement GetDomain() and GetDomainID(). 2002-10-24 Gonzalo Paniagua Javier * 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 0.5s before waiting for queued data again. 2002-09-28 Gonzalo Paniagua Javier * ThreadPool.cs: set IsThreadPoolThread before starting the worker. 2002-09-11 Dick Porter * Mutex.cs: * ManualResetEvent.cs: * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of the private field * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal method 2002-09-03 Dick Porter * Thread.cs: Added thread ID field 2002-08-27 Gonzalo Paniagua Javier * WaitHandle.cs: IDisposable fixes. 2002-08-14 Dick Porter * Thread.cs: Make CurrentUICulture act the same as CurrentCulture for now. 2002-08-12 Dietmar Maurer * ThreadAbortException.cs: impl. ExceptionState property. * Thread.cs: moved all instance variables to the start of the class. added support for Thread::Abort() 2002-04-30 Dick Porter * Thread.cs: If LocalDataStoreSlot already has data set, remove it before adding a new one. Use the Thread object destructor to tell the runtime to close the thread handle. 2002-04-14 Patrik Torstensson * Interlocked.cs: made all methods icalls. 2002-04-14 Gonzalo Paniagua Javier * IOCompletionCallback.cs: added attributes to the delegate (CLSCompliant(false) and Serializable). 2002-04-14 Patrik Torstensson * 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) 2002-04-14 Patrik Torstensson * 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 Wed Feb 13 21:51:30 CET 2002 Paolo Molaro * Thread.cs: implement CurrentCulture property needed by Convert.ChangeType() (used when compiling enums). 2002-01-23 Dick Porter * ManualResetEvent.cs: * AutoResetEvent.cs: Fixed DOS line endings 2002-01-22 Veronica De Santis * NativeEventCalls : Class that contains internal calls shared by Auto and Manual Reset Events * AutoResetEvents.cs : Added class AutoResetEvents and its implementation * ManualResetEvents.cs : Added class ManualResetEvents and its implementation 2002-01-16 Veronica De Santis * WaitHandle.cs : Renamed handle to os_handle and make it protected instead of private. * Mutex.cs : Write the System.Threading.Mutex methods ( constructors and the ReleaseMutex) 2002-01-15 Dick Porter * WaitHandle.cs: * Thread.cs: Make the runtime's idea of infinite timeouts coincide with the class library's 2002-01-10 Dick Porter * WaitHandle.cs: Added checks for too many handles and null handles in WaitAll() and WaitAny 2002-01-05 Ravi Pratap * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO decoration. * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs, Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto. 2001-12-11 Dick Porter * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as internal calls. 2001-11-26 Dick Porter * 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. Wed Nov 14 17:06:18 CET 2001 Paolo Molaro * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates. 2001-10-03 Dick Porter * Monitor.cs: Implemented all methods except the two Wait() methods that take boolean parameters 2001-09-28 Dick Porter * Thread.cs: Implemented AllocateDataSlot(), AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(), GetNamedDataSlot(), SetData(), IsBackground. Reworked Thread() and Start() to avoid a race condition. Added thread-safe state changing private operations. * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet 2001-09-25 Dick Porter * Thread.cs: Implement Join and timed Join, set correct state around Start, Join and Sleep calls, implement IsAlive and ThreadState properties. * ThreadState.cs (Threading): Added StopRequested, SuspendRequested, Suspended values 2001-09-23 Dick Porter * Thread.cs: Implemented CurrentThread and Sleep (both versions) with internal calls, and Name. 2001-09-21 Dick Porter * Thread.cs: Implement Thread(ThreadStart) constructor and Start() with an internal call * WaitHandle.cs: Close calls Dispose(false) 2001-09-13 Dick Porter * ApartmentState.cs (Threading): Set the correct enum values 2001-09-13 Dick Porter * ApartmentState.cs, AutoResetEvent.cs, IOCompletionCallback.cs, Interlocked.cs, LockCookie.cs, ManualResetEvent.cs, Monitor.cs, Mutex.cs, NativeOverlapped.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs, SynchronizationLockException.cs, Thread.cs, ThreadAbortException.cs, ThreadInterruptedException.cs, ThreadPool.cs, ThreadStart.cs, ThreadStateException.cs, Timeout.cs, Timer.cs, TimerCallback.cs, WaitCallback.cs, WaitHandle.cs, WaitOrTimerCallback.cs: System.Threading class stubs. 2001-07-18 Michael Lambert * ThreadPriority.cs, ThreadState.cs: Add.