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