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