2003-04-05 Miguel de Icaza <miguel@ximian.com>
[mono.git] / mcs / class / corlib / System.Threading / ChangeLog
1 2003-03-20  Miguel de Icaza  <miguel@ximian.com>
2
3         * Thread.cs (CurrentCuluture): use the invaraint culture instead
4         of "" for the current_culture setting.
5
6 2003-03-25  Zoltan Varga  <vargaz@freemail.hu>
7
8         * Thread.cs: Fix visibility of ResetAbort().
9
10 2003-03-18  Dick Porter  <dick@ximian.com>
11
12         * Thread.cs: Keep the thread state updated in all the places that
13         require it.  (Suspend, Resume and Interrupt not handled yet)
14
15 2003-03-03  Lluis Sanchez Gual <lluis@ideary.com>
16
17         * Thread.cs: Changed implementation of CurrentContext, adapted to the changes
18           in the runtime.
19
20 2003-02-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>
21
22         * Thread.cs: implemented CurrentContext.
23
24 2003-02-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
25
26         * Thread.cs: made the thread_id for the current thread accesible through
27         an internal property.  
28
29 2003-02-17  Dick Porter  <dick@ximian.com>
30
31         * Thread.cs: Added the Start semaphore field to the class.  Update
32         the thread state after Start() has returned, not before.
33
34 2003-02-13  Zoltan Varga  <vargaz@freemail.hu>
35
36         * Thread.cs (Sleep): Timeout.Infinite is a value argument.
37
38 2003-02-11  Dick Porter  <dick@ximian.com>
39
40         * Monitor.cs: Infinite wait is Infinite, not 0 ms
41
42 2003-02-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
43
44         * Thread.cs: fixed bug #37759.
45
46 2003-02-07  Patrik Torstensson
47
48         * Timer.cs: Set the Background thread flag for the timer thread
49
50 2003-02-05  Patrik Torstensson
51
52         * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool. 
53
54 2003-02-04  Lluis Sanchez Gual <lluis@ideary.com>
55
56         * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
57
58 Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <lupus@ximian.com>
59
60         * Thread.cs: delay-init datastorehash.
61
62 2003-01-10  Patrik Torstensson  <totte@race-x-change.com>
63
64         * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a 
65                     model more equal to the MS one.
66
67 2002-12-10  Dick Porter  <dick@ximian.com>
68
69         * Monitor.cs:
70         * Thread.cs:
71         * ThreadPool.cs:
72         * Timer.cs:
73         * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
74         ms, not Milliseconds.
75
76 2002-12-07  Martin Baulig  <martin@ximian.com>
77
78         * Timer.cs: Make it actually work; now it no longer sets your
79         application on fire if you use a zero periode and Timer.Change()
80         actually works.
81
82 2002-11-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * Timer.cs: implemented more stuff. It works now.
85
86 2002-10-25  Zoltan Varga  <vargaz@freemail.hu>
87
88         * Thread.cs: Implement GetDomain() and GetDomainID().
89
90 2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>
91
92         * ThreadPool.cs: now the monitor thread is not sleeping and checking if
93         more worker threads needed. It waits on _DataInQueue. If (and only if)
94         there's data in the queue it checks if more worker threads needed and
95         then sleeps 0.5s before waiting for queued data again.
96
97 2002-09-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>
98
99         * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
100
101 2002-09-11  Dick Porter  <dick@ximian.com>
102
103         * Mutex.cs: 
104         * ManualResetEvent.cs: 
105         * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
106         the private field
107
108         * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
109         method
110
111 2002-09-03  Dick Porter  <dick@ximian.com>
112
113         * Thread.cs: Added thread ID field
114
115 2002-08-27  Gonzalo Paniagua Javier <gonzalo@ximian.com>
116
117         * WaitHandle.cs: IDisposable fixes.
118
119 2002-08-14  Dick Porter  <dick@ximian.com>
120
121         * Thread.cs: Make CurrentUICulture act the same as CurrentCulture
122         for now.
123
124 2002-08-12  Dietmar Maurer  <dietmar@ximian.com>
125
126         * ThreadAbortException.cs: impl. ExceptionState property.
127
128         * Thread.cs: moved all instance variables to the start of the
129         class. added support for Thread::Abort()
130
131 2002-04-30  Dick Porter  <dick@ximian.com>
132
133         * Thread.cs: If LocalDataStoreSlot already has data set, remove it
134         before adding a new one.
135
136         Use the Thread object destructor to tell the runtime to close the
137         thread handle.
138
139 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
140
141         * Interlocked.cs: made all methods icalls.
142
143 2002-04-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>
144
145         * IOCompletionCallback.cs: added attributes to the delegate
146         (CLSCompliant(false) and Serializable).
147
148 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
149         * Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending 
150                                  the threadstate enum.
151         * ThreadPool.cs: Now using the internal Isthreadpoolthread property
152         * ThreadState.cs: removed non-standard enum (ThreadPoolThread)
153
154 2002-04-14 Patrik Torstensson <patrik.torstensson@labs2.com>
155
156         * ThreadState.cs: Added enum for threadpool thread
157         * Thread.cs: changed the set/clr_state to be internal (used from threadpool)
158         * Thread.cs: Added IsThreadPoolThread
159         * ThreadPool.cs: Implementation of QueueUserWorkItem
160
161 Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <lupus@ximian.com>
162
163         * Thread.cs: implement CurrentCulture property needed by
164         Convert.ChangeType() (used when compiling enums).
165
166 2002-01-23  Dick Porter  <dick@ximian.com>
167
168         * ManualResetEvent.cs: 
169         * AutoResetEvent.cs: Fixed DOS line endings
170
171 2002-01-22  Veronica De Santis <veron78@interfree.it>   
172         
173         * NativeEventCalls : Class that contains internal calls shared by Auto 
174                              and Manual Reset Events
175         * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
176         * ManualResetEvents.cs : Added class ManualResetEvents and its implementation
177
178 2002-01-16  Veronica De Santis <veron78@interfree.it>   
179         
180         * WaitHandle.cs : Renamed handle to os_handle and make it protected
181                           instead of private.
182         * Mutex.cs : Write the System.Threading.Mutex methods ( constructors 
183                      and the ReleaseMutex)
184
185 2002-01-15  Dick Porter  <dick@ximian.com>
186
187         * WaitHandle.cs:
188         * Thread.cs: Make the runtime's idea of infinite timeouts coincide
189         with the class library's
190
191 2002-01-10  Dick Porter  <dick@ximian.com>
192
193         * WaitHandle.cs: Added checks for too many handles and null
194         handles in WaitAll() and WaitAny
195         
196
197 2002-01-05  Ravi Pratap  <ravi@ximian.com>
198
199         * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
200         decoration.
201
202         * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
203         Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.
204
205 2001-12-11  Dick Porter  <dick@ximian.com>
206
207         * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
208         internal calls.
209
210 2001-11-26  Dick Porter  <dick@ximian.com>
211
212         * Thread.cs: DataSlot uses a single system TLS slot, and a
213         hashtable per thread.  Some minor changes to reflect the new
214         internal calls using the new IO library, and the newly-supported
215         bool returns from internal calls.
216
217         * Monitor.cs: Use bool returns from internal calls now they are
218         supported by the runtime.  Coalesce enter with the try_enter
219         internal call.
220
221 Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <lupus@ximian.com>
222
223         * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
224
225 2001-10-03  Dick Porter  <dick@ximian.com>
226
227         * Monitor.cs: Implemented all methods except the two Wait()
228         methods that take boolean parameters
229
230 2001-09-28  Dick Porter  <dick@ximian.com>
231
232         * Thread.cs: Implemented AllocateDataSlot(),
233         AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
234         GetNamedDataSlot(), SetData(), IsBackground.  Reworked Thread()
235         and Start() to avoid a race condition. Added thread-safe state
236         changing private operations.
237
238         * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet
239
240 2001-09-25  Dick Porter  <dick@ximian.com>
241
242         * Thread.cs: Implement Join and timed Join, set correct state
243         around Start, Join and Sleep calls, implement IsAlive and
244         ThreadState properties.
245
246         * ThreadState.cs (Threading): Added StopRequested,
247         SuspendRequested, Suspended values
248
249 2001-09-23  Dick Porter  <dick@ximian.com>
250
251         * Thread.cs: Implemented CurrentThread and Sleep (both versions)
252         with internal calls, and Name.
253
254 2001-09-21  Dick Porter  <dick@ximian.com>
255
256         * Thread.cs: Implement Thread(ThreadStart) constructor and Start()
257         with an internal call
258
259         * WaitHandle.cs: Close calls Dispose(false)
260
261 2001-09-13  Dick Porter  <dick@ximian.com>
262
263         * ApartmentState.cs (Threading): Set the correct enum values
264
265 2001-09-13  Dick Porter  <dick@ximian.com>
266
267         * ApartmentState.cs, AutoResetEvent.cs, IOCompletionCallback.cs,
268         Interlocked.cs, LockCookie.cs, ManualResetEvent.cs, Monitor.cs,
269         Mutex.cs, NativeOverlapped.cs, Overlapped.cs, ReaderWriterLock.cs,
270         RegisteredWaitHandle.cs, SynchronizationLockException.cs,
271         Thread.cs, ThreadAbortException.cs, ThreadInterruptedException.cs,
272         ThreadPool.cs, ThreadStart.cs, ThreadStateException.cs,
273         Timeout.cs, Timer.cs, TimerCallback.cs, WaitCallback.cs,
274         WaitHandle.cs, WaitOrTimerCallback.cs: System.Threading class
275         stubs.
276         
277 2001-07-18  Michael Lambert <michaellambert@email.com>
278
279         * ThreadPriority.cs, ThreadState.cs: Add.