2003-02-17 Dick Porter <dick@ximian.com>
[mono.git] / mcs / class / corlib / System.Threading / ChangeLog
1 2003-02-17  Dick Porter  <dick@ximian.com>
2
3         * Thread.cs: Added the Start semaphore field to the class.  Update
4         the thread state after Start() has returned, not before.
5
6 2003-02-13  Zoltan Varga  <vargaz@freemail.hu>
7
8         * Thread.cs (Sleep): Timeout.Infinite is a value argument.
9
10 2003-02-11  Dick Porter  <dick@ximian.com>
11
12         * Monitor.cs: Infinite wait is Infinite, not 0 ms
13
14 2003-02-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
15
16         * Thread.cs: fixed bug #37759.
17
18 2003-02-07  Patrik Torstensson
19
20         * Timer.cs: Set the Background thread flag for the timer thread
21
22 2003-02-05  Patrik Torstensson
23
24         * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool. 
25
26 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
27
28         * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
29
30 Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <lupus@ximian.com>
31
32         * Thread.cs: delay-init datastorehash.
33
34 2003-01-10  Patrik Torstensson  <totte@race-x-change.com>
35
36         * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a 
37                     model more equal to the MS one.
38
39 2002-12-10  Dick Porter  <dick@ximian.com>
40
41         * Monitor.cs:
42         * Thread.cs:
43         * ThreadPool.cs:
44         * Timer.cs:
45         * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
46         ms, not Milliseconds.
47
48 2002-12-07  Martin Baulig  <martin@ximian.com>
49
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()
52         actually works.
53
54 2002-11-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
55
56         * Timer.cs: implemented more stuff. It works now.
57
58 2002-10-25  Zoltan Varga  <vargaz@freemail.hu>
59
60         * Thread.cs: Implement GetDomain() and GetDomainID().
61
62 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
63
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.
68
69 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
70
71         * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
72
73 2002-09-11  Dick Porter  <dick@ximian.com>
74
75         * Mutex.cs: 
76         * ManualResetEvent.cs: 
77         * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
78         the private field
79
80         * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
81         method
82
83 2002-09-03  Dick Porter  <dick@ximian.com>
84
85         * Thread.cs: Added thread ID field
86
87 2002-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
88
89         * WaitHandle.cs: IDisposable fixes.
90
91 2002-08-14  Dick Porter  <dick@ximian.com>
92
93         * Thread.cs: Make CurrentUICulture act the same as CurrentCulture
94         for now.
95
96 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
97
98         * ThreadAbortException.cs: impl. ExceptionState property.
99
100         * Thread.cs: moved all instance variables to the start of the
101         class. added support for Thread::Abort()
102
103 2002-04-30  Dick Porter  <dick@ximian.com>
104
105         * Thread.cs: If LocalDataStoreSlot already has data set, remove it
106         before adding a new one.
107
108         Use the Thread object destructor to tell the runtime to close the
109         thread handle.
110
111 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
112
113         * Interlocked.cs: made all methods icalls.
114
115 2002-04-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
116
117         * IOCompletionCallback.cs: added attributes to the delegate
118         (CLSCompliant(false) and Serializable).
119
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)
125
126 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
127
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
132
133 Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <lupus@ximian.com>
134
135         * Thread.cs: implement CurrentCulture property needed by
136         Convert.ChangeType() (used when compiling enums).
137
138 2002-01-23  Dick Porter  <dick@ximian.com>
139
140         * ManualResetEvent.cs: 
141         * AutoResetEvent.cs: Fixed DOS line endings
142
143 2002-01-22  Veronica De Santis <veron78@interfree.it>   
144         
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
149
150 2002-01-16  Veronica De Santis <veron78@interfree.it>   
151         
152         * WaitHandle.cs : Renamed handle to os_handle and make it protected
153                           instead of private.
154         * Mutex.cs : Write the System.Threading.Mutex methods ( constructors 
155                      and the ReleaseMutex)
156
157 2002-01-15  Dick Porter  <dick@ximian.com>
158
159         * WaitHandle.cs:
160         * Thread.cs: Make the runtime's idea of infinite timeouts coincide
161         with the class library's
162
163 2002-01-10  Dick Porter  <dick@ximian.com>
164
165         * WaitHandle.cs: Added checks for too many handles and null
166         handles in WaitAll() and WaitAny
167         
168
169 2002-01-05  Ravi Pratap  <ravi@ximian.com>
170
171         * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
172         decoration.
173
174         * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
175         Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.
176
177 2001-12-11  Dick Porter  <dick@ximian.com>
178
179         * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
180         internal calls.
181
182 2001-11-26  Dick Porter  <dick@ximian.com>
183
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.
188
189         * Monitor.cs: Use bool returns from internal calls now they are
190         supported by the runtime.  Coalesce enter with the try_enter
191         internal call.
192
193 Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <lupus@ximian.com>
194
195         * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
196
197 2001-10-03  Dick Porter  <dick@ximian.com>
198
199         * Monitor.cs: Implemented all methods except the two Wait()
200         methods that take boolean parameters
201
202 2001-09-28  Dick Porter  <dick@ximian.com>
203
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.
209
210         * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet
211
212 2001-09-25  Dick Porter  <dick@ximian.com>
213
214         * Thread.cs: Implement Join and timed Join, set correct state
215         around Start, Join and Sleep calls, implement IsAlive and
216         ThreadState properties.
217
218         * ThreadState.cs (Threading): Added StopRequested,
219         SuspendRequested, Suspended values
220
221 2001-09-23  Dick Porter  <dick@ximian.com>
222
223         * Thread.cs: Implemented CurrentThread and Sleep (both versions)
224         with internal calls, and Name.
225
226 2001-09-21  Dick Porter  <dick@ximian.com>
227
228         * Thread.cs: Implement Thread(ThreadStart) constructor and Start()
229         with an internal call
230
231         * WaitHandle.cs: Close calls Dispose(false)
232
233 2001-09-13  Dick Porter  <dick@ximian.com>
234
235         * ApartmentState.cs (Threading): Set the correct enum values
236
237 2001-09-13  Dick Porter  <dick@ximian.com>
238
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
247         stubs.
248         
249 2001-07-18  Michael Lambert <michaellambert@email.com>
250
251         * ThreadPriority.cs, ThreadState.cs: Add.