1 2003-02-17 Dick Porter <dick@ximian.com>
3 * Thread.cs: Added the Start semaphore field to the class. Update
4 the thread state after Start() has returned, not before.
6 2003-02-13 Zoltan Varga <vargaz@freemail.hu>
8 * Thread.cs (Sleep): Timeout.Infinite is a value argument.
10 2003-02-11 Dick Porter <dick@ximian.com>
12 * Monitor.cs: Infinite wait is Infinite, not 0 ms
14 2003-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * Thread.cs: fixed bug #37759.
18 2003-02-07 Patrik Torstensson
20 * Timer.cs: Set the Background thread flag for the timer thread
22 2003-02-05 Patrik Torstensson
24 * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool.
26 2003-02-04 Lluis Sanchez Gual <lluis@ideary.com>
28 * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
30 Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <lupus@ximian.com>
32 * Thread.cs: delay-init datastorehash.
34 2003-01-10 Patrik Torstensson <totte@race-x-change.com>
36 * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a
37 model more equal to the MS one.
39 2002-12-10 Dick Porter <dick@ximian.com>
45 * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
48 2002-12-07 Martin Baulig <martin@ximian.com>
50 * Timer.cs: Make it actually work; now it no longer sets your
51 application on fire if you use a zero periode and Timer.Change()
54 2002-11-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56 * Timer.cs: implemented more stuff. It works now.
58 2002-10-25 Zoltan Varga <vargaz@freemail.hu>
60 * Thread.cs: Implement GetDomain() and GetDomainID().
62 2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 * ThreadPool.cs: now the monitor thread is not sleeping and checking if
65 more worker threads needed. It waits on _DataInQueue. If (and only if)
66 there's data in the queue it checks if more worker threads needed and
67 then sleeps 0.5s before waiting for queued data again.
69 2002-09-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
71 * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
73 2002-09-11 Dick Porter <dick@ximian.com>
76 * ManualResetEvent.cs:
77 * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
80 * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
83 2002-09-03 Dick Porter <dick@ximian.com>
85 * Thread.cs: Added thread ID field
87 2002-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
89 * WaitHandle.cs: IDisposable fixes.
91 2002-08-14 Dick Porter <dick@ximian.com>
93 * Thread.cs: Make CurrentUICulture act the same as CurrentCulture
96 2002-08-12 Dietmar Maurer <dietmar@ximian.com>
98 * ThreadAbortException.cs: impl. ExceptionState property.
100 * Thread.cs: moved all instance variables to the start of the
101 class. added support for Thread::Abort()
103 2002-04-30 Dick Porter <dick@ximian.com>
105 * Thread.cs: If LocalDataStoreSlot already has data set, remove it
106 before adding a new one.
108 Use the Thread object destructor to tell the runtime to close the
111 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
113 * Interlocked.cs: made all methods icalls.
115 2002-04-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
117 * IOCompletionCallback.cs: added attributes to the delegate
118 (CLSCompliant(false) and Serializable).
120 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
121 * Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending
122 the threadstate enum.
123 * ThreadPool.cs: Now using the internal Isthreadpoolthread property
124 * ThreadState.cs: removed non-standard enum (ThreadPoolThread)
126 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
128 * ThreadState.cs: Added enum for threadpool thread
129 * Thread.cs: changed the set/clr_state to be internal (used from threadpool)
130 * Thread.cs: Added IsThreadPoolThread
131 * ThreadPool.cs: Implementation of QueueUserWorkItem
133 Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <lupus@ximian.com>
135 * Thread.cs: implement CurrentCulture property needed by
136 Convert.ChangeType() (used when compiling enums).
138 2002-01-23 Dick Porter <dick@ximian.com>
140 * ManualResetEvent.cs:
141 * AutoResetEvent.cs: Fixed DOS line endings
143 2002-01-22 Veronica De Santis <veron78@interfree.it>
145 * NativeEventCalls : Class that contains internal calls shared by Auto
146 and Manual Reset Events
147 * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
148 * ManualResetEvents.cs : Added class ManualResetEvents and its implementation
150 2002-01-16 Veronica De Santis <veron78@interfree.it>
152 * WaitHandle.cs : Renamed handle to os_handle and make it protected
154 * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
155 and the ReleaseMutex)
157 2002-01-15 Dick Porter <dick@ximian.com>
160 * Thread.cs: Make the runtime's idea of infinite timeouts coincide
161 with the class library's
163 2002-01-10 Dick Porter <dick@ximian.com>
165 * WaitHandle.cs: Added checks for too many handles and null
166 handles in WaitAll() and WaitAny
169 2002-01-05 Ravi Pratap <ravi@ximian.com>
171 * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
174 * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
175 Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.
177 2001-12-11 Dick Porter <dick@ximian.com>
179 * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
182 2001-11-26 Dick Porter <dick@ximian.com>
184 * Thread.cs: DataSlot uses a single system TLS slot, and a
185 hashtable per thread. Some minor changes to reflect the new
186 internal calls using the new IO library, and the newly-supported
187 bool returns from internal calls.
189 * Monitor.cs: Use bool returns from internal calls now they are
190 supported by the runtime. Coalesce enter with the try_enter
193 Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <lupus@ximian.com>
195 * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
197 2001-10-03 Dick Porter <dick@ximian.com>
199 * Monitor.cs: Implemented all methods except the two Wait()
200 methods that take boolean parameters
202 2001-09-28 Dick Porter <dick@ximian.com>
204 * Thread.cs: Implemented AllocateDataSlot(),
205 AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
206 GetNamedDataSlot(), SetData(), IsBackground. Reworked Thread()
207 and Start() to avoid a race condition. Added thread-safe state
208 changing private operations.
210 * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet
212 2001-09-25 Dick Porter <dick@ximian.com>
214 * Thread.cs: Implement Join and timed Join, set correct state
215 around Start, Join and Sleep calls, implement IsAlive and
216 ThreadState properties.
218 * ThreadState.cs (Threading): Added StopRequested,
219 SuspendRequested, Suspended values
221 2001-09-23 Dick Porter <dick@ximian.com>
223 * Thread.cs: Implemented CurrentThread and Sleep (both versions)
224 with internal calls, and Name.
226 2001-09-21 Dick Porter <dick@ximian.com>
228 * Thread.cs: Implement Thread(ThreadStart) constructor and Start()
229 with an internal call
231 * WaitHandle.cs: Close calls Dispose(false)
233 2001-09-13 Dick Porter <dick@ximian.com>
235 * ApartmentState.cs (Threading): Set the correct enum values
237 2001-09-13 Dick Porter <dick@ximian.com>
239 * ApartmentState.cs, AutoResetEvent.cs, IOCompletionCallback.cs,
240 Interlocked.cs, LockCookie.cs, ManualResetEvent.cs, Monitor.cs,
241 Mutex.cs, NativeOverlapped.cs, Overlapped.cs, ReaderWriterLock.cs,
242 RegisteredWaitHandle.cs, SynchronizationLockException.cs,
243 Thread.cs, ThreadAbortException.cs, ThreadInterruptedException.cs,
244 ThreadPool.cs, ThreadStart.cs, ThreadStateException.cs,
245 Timeout.cs, Timer.cs, TimerCallback.cs, WaitCallback.cs,
246 WaitHandle.cs, WaitOrTimerCallback.cs: System.Threading class
249 2001-07-18 Michael Lambert <michaellambert@email.com>
251 * ThreadPriority.cs, ThreadState.cs: Add.