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