2003-12-02 Dick Porter <dick@ximian.com>
[mono.git] / mcs / class / corlib / System.Threading / ChangeLog
index 27b37216498aa270d80cc8f151cc16d75335b663..f9ae7d5108f4a4e3a91ddb96699a10f5c80fd062 100644 (file)
@@ -1,3 +1,212 @@
+2003-12-02  Dick Porter  <dick@ximian.com>
+
+       * Thread.cs: Throw InvalidOperationException if Thread.Name is
+       already set.
+
+2003-12-01  Dick Porter  <dick@ximian.com>
+
+       * Thread.cs: Implement CurrentCulture and CurrentUICulture
+
+2003-11-12  Miguel de Icaza  <miguel@ximian.com>
+
+       * Thread.cs: Add new VolatileRead/VolatileWrite methods from 1.1
+
+2003-10-23  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * Thread.cs: Added ResetDataStoreStatus and RestoreDataStoreStatus
+         methods. They are used in CrossAppDomainChannel to save and restore
+         thread's local data when switching between domains.
+
+2003-10-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ManualResetEvent.cs: added check for disposed.
+       * Thread.cs: no need to init this field.
+
+2003-10-01  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Thread.cs: Add locking to AllocateNamedDataSlot and 
+       FreeNamedDataSlot.
+
+Wed Aug 20 12:01:36 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * Thread.cs: put all the fields at the start and add
+       more fields needed by the runtime.
+
+2003-08-14  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * Thread.cs: SetData() method: use Hashtable.Contains to check
+         if a dataslot has been allocated (value could be null).
+
+2003-07-23  Duncan Mak  <duncan@ximian.com>
+
+       * WaitHandle.cs (CheckDisposed): This method is not in the public
+       API, mark it as 'internal'.
+
+2003-07-01  Dick Porter  <dick@ximian.com>
+
+       * Thread.cs: Throw an exception if thread creation failed.
+       (Better than just blowing up later.)
+
+2003-06-27  Dietmar Maurer  <dietmar@ximian.com>
+
+       * ThreadPool.cs: use async delegate invoke.
+
+2003-06-25  Dick Porter  <dick@ximian.com>
+
+       * WaitHandle.cs: Default handle value should be InvalidHandle, not
+       Zero.
+
+2003-06-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * ThreadPool.cs: correctly create a TimeSpan with provided the number of
+       milliseconds.
+
+       * WaitHandle.cs: fixes for WaitAny/All and TimeSpan.
+
+2003-06-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * WaitHandle.cs: checks and exceptions.
+
+2003-06-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * NativeEventCalls.cs: added CloseEvent_intenal.
+       * WaitHandle.cs: call CloseEvent_internal when disposing.
+
+2003-05-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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.
+
+Mon May 19 09:07:45 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * Monitor.cs: removed test_owner, the check is already done in the
+       icall.
+
+Tue May 13 15:34:29 CEST 2003 Paolo Molaro <lupus@ximian.com>
+
+       * Thread.cs: added missing field used by the runtime and
+       a new field to support thread-static data.
+
+2003-04-17  Pedro Martínez Juliá  <yoros@wanadoo.es>
+
+       * Timer.cs: Change the position of two lines because they were
+       before the "if" that ensures the integrity. After this, the first of
+       that two lines was producing a NullReferenceException.
+
+2003-04-09  Dick Porter  <dick@ximian.com>
+
+       * 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.
+
+2003-03-20  Miguel de Icaza  <miguel@ximian.com>
+
+       * Thread.cs (CurrentCuluture): use the invaraint culture instead
+       of "" for the current_culture setting.
+
+2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Thread.cs: Fix visibility of ResetAbort().
+
+2003-03-18  Dick Porter  <dick@ximian.com>
+
+       * 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 <lluis@ideary.com>
+
+       * Thread.cs: Changed implementation of CurrentContext, adapted to the changes
+         in the runtime.
+
+2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Thread.cs: implemented CurrentContext.
+
+2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * Thread.cs: made the thread_id for the current thread accesible through
+       an internal property.  
+
+2003-02-17  Dick Porter  <dick@ximian.com>
+
+       * 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  <vargaz@freemail.hu>
+
+       * Thread.cs (Sleep): Timeout.Infinite is a value argument.
+
+2003-02-11  Dick Porter  <dick@ximian.com>
+
+       * Monitor.cs: Infinite wait is Infinite, not 0 ms
+
+2003-02-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <lluis@ideary.com>
+
+       * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
+
+Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <lupus@ximian.com>
+
+       * Thread.cs: delay-init datastorehash.
+
+2003-01-10  Patrik Torstensson  <totte@race-x-change.com>
+
+       * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a 
+                    model more equal to the MS one.
+
+2002-12-10  Dick Porter  <dick@ximian.com>
+
+       * 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  <martin@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * Timer.cs: implemented more stuff. It works now.
+
+2002-10-25  Zoltan Varga  <vargaz@freemail.hu>
+
+       * Thread.cs: Implement GetDomain() and GetDomainID().
+
+2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * 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 <gonzalo@ximian.com>
+
+       * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
+
 2002-09-11  Dick Porter  <dick@ximian.com>
 
        * Mutex.cs: