ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. 2003-06-27 Dietmar Maurer <[email protected]>
  2. * ThreadPool.cs: use async delegate invoke.
  3. 2003-06-25 Dick Porter <[email protected]>
  4. * WaitHandle.cs: Default handle value should be InvalidHandle, not
  5. Zero.
  6. 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
  7. * ThreadPool.cs: correctly create a TimeSpan with provided the number of
  8. milliseconds.
  9. * WaitHandle.cs: fixes for WaitAny/All and TimeSpan.
  10. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  11. * WaitHandle.cs: checks and exceptions.
  12. 2003-06-02 Gonzalo Paniagua Javier <[email protected]>
  13. * NativeEventCalls.cs: added CloseEvent_intenal.
  14. * WaitHandle.cs: call CloseEvent_internal when disposing.
  15. 2003-05-31 Gonzalo Paniagua Javier <[email protected]>
  16. * RegisteredWaitHandle.cs: check that the callback is not null before
  17. invoking.
  18. * ThreadPool.cs: fixed timeout -> TimeSpan conversions (closes bug
  19. #43963). Queue the item before setting the handle. If there's a timeout,
  20. avoid trying to Dequeue, getting the exception et al, just continue the
  21. loop.
  22. Mon May 19 09:07:45 CEST 2003 Paolo Molaro <[email protected]>
  23. * Monitor.cs: removed test_owner, the check is already done in the
  24. icall.
  25. Tue May 13 15:34:29 CEST 2003 Paolo Molaro <[email protected]>
  26. * Thread.cs: added missing field used by the runtime and
  27. a new field to support thread-static data.
  28. 2003-04-17 Pedro Martínez Juliá <[email protected]>
  29. * Timer.cs: Change the position of two lines because they were
  30. before the "if" that ensures the integrity. After this, the first of
  31. that two lines was producing a NullReferenceException.
  32. 2003-04-09 Dick Porter <[email protected]>
  33. * Thread.cs: Make sure a reference to the ThreadStart delegate is
  34. held. There's no telling how long it will be before
  35. Thread.Start() is called, and GC might destroy the delegate.
  36. Thread() and Start() need to be rewritten so that the runtime
  37. creates the new thread when Start() is called, which will simplify
  38. the code a great deal.
  39. 2003-03-20 Miguel de Icaza <[email protected]>
  40. * Thread.cs (CurrentCuluture): use the invaraint culture instead
  41. of "" for the current_culture setting.
  42. 2003-03-25 Zoltan Varga <[email protected]>
  43. * Thread.cs: Fix visibility of ResetAbort().
  44. 2003-03-18 Dick Porter <[email protected]>
  45. * Thread.cs: Keep the thread state updated in all the places that
  46. require it. (Suspend, Resume and Interrupt not handled yet)
  47. 2003-03-03 Lluis Sanchez Gual <[email protected]>
  48. * Thread.cs: Changed implementation of CurrentContext, adapted to the changes
  49. in the runtime.
  50. 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
  51. * Thread.cs: implemented CurrentContext.
  52. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  53. * Thread.cs: made the thread_id for the current thread accesible through
  54. an internal property.
  55. 2003-02-17 Dick Porter <[email protected]>
  56. * Thread.cs: Added the Start semaphore field to the class. Update
  57. the thread state after Start() has returned, not before.
  58. 2003-02-13 Zoltan Varga <[email protected]>
  59. * Thread.cs (Sleep): Timeout.Infinite is a value argument.
  60. 2003-02-11 Dick Porter <[email protected]>
  61. * Monitor.cs: Infinite wait is Infinite, not 0 ms
  62. 2003-02-10 Gonzalo Paniagua Javier <[email protected]>
  63. * Thread.cs: fixed bug #37759.
  64. 2003-02-07 Patrik Torstensson
  65. * Timer.cs: Set the Background thread flag for the timer thread
  66. 2003-02-05 Patrik Torstensson
  67. * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool.
  68. 2003-02-04 Lluis Sanchez Gual <[email protected]>
  69. * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
  70. Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <[email protected]>
  71. * Thread.cs: delay-init datastorehash.
  72. 2003-01-10 Patrik Torstensson <[email protected]>
  73. * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a
  74. model more equal to the MS one.
  75. 2002-12-10 Dick Porter <[email protected]>
  76. * Monitor.cs:
  77. * Thread.cs:
  78. * ThreadPool.cs:
  79. * Timer.cs:
  80. * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
  81. ms, not Milliseconds.
  82. 2002-12-07 Martin Baulig <[email protected]>
  83. * Timer.cs: Make it actually work; now it no longer sets your
  84. application on fire if you use a zero periode and Timer.Change()
  85. actually works.
  86. 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
  87. * Timer.cs: implemented more stuff. It works now.
  88. 2002-10-25 Zoltan Varga <[email protected]>
  89. * Thread.cs: Implement GetDomain() and GetDomainID().
  90. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  91. * ThreadPool.cs: now the monitor thread is not sleeping and checking if
  92. more worker threads needed. It waits on _DataInQueue. If (and only if)
  93. there's data in the queue it checks if more worker threads needed and
  94. then sleeps 0.5s before waiting for queued data again.
  95. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  96. * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
  97. 2002-09-11 Dick Porter <[email protected]>
  98. * Mutex.cs:
  99. * ManualResetEvent.cs:
  100. * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
  101. the private field
  102. * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
  103. method
  104. 2002-09-03 Dick Porter <[email protected]>
  105. * Thread.cs: Added thread ID field
  106. 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
  107. * WaitHandle.cs: IDisposable fixes.
  108. 2002-08-14 Dick Porter <[email protected]>
  109. * Thread.cs: Make CurrentUICulture act the same as CurrentCulture
  110. for now.
  111. 2002-08-12 Dietmar Maurer <[email protected]>
  112. * ThreadAbortException.cs: impl. ExceptionState property.
  113. * Thread.cs: moved all instance variables to the start of the
  114. class. added support for Thread::Abort()
  115. 2002-04-30 Dick Porter <[email protected]>
  116. * Thread.cs: If LocalDataStoreSlot already has data set, remove it
  117. before adding a new one.
  118. Use the Thread object destructor to tell the runtime to close the
  119. thread handle.
  120. 2002-04-14 Patrik Torstensson <[email protected]>
  121. * Interlocked.cs: made all methods icalls.
  122. 2002-04-14 Gonzalo Paniagua Javier <[email protected]>
  123. * IOCompletionCallback.cs: added attributes to the delegate
  124. (CLSCompliant(false) and Serializable).
  125. 2002-04-14 Patrik Torstensson <[email protected]>
  126. * Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending
  127. the threadstate enum.
  128. * ThreadPool.cs: Now using the internal Isthreadpoolthread property
  129. * ThreadState.cs: removed non-standard enum (ThreadPoolThread)
  130. 2002-04-14 Patrik Torstensson <[email protected]>
  131. * ThreadState.cs: Added enum for threadpool thread
  132. * Thread.cs: changed the set/clr_state to be internal (used from threadpool)
  133. * Thread.cs: Added IsThreadPoolThread
  134. * ThreadPool.cs: Implementation of QueueUserWorkItem
  135. Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <[email protected]>
  136. * Thread.cs: implement CurrentCulture property needed by
  137. Convert.ChangeType() (used when compiling enums).
  138. 2002-01-23 Dick Porter <[email protected]>
  139. * ManualResetEvent.cs:
  140. * AutoResetEvent.cs: Fixed DOS line endings
  141. 2002-01-22 Veronica De Santis <[email protected]>
  142. * NativeEventCalls : Class that contains internal calls shared by Auto
  143. and Manual Reset Events
  144. * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
  145. * ManualResetEvents.cs : Added class ManualResetEvents and its implementation
  146. 2002-01-16 Veronica De Santis <[email protected]>
  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. 2002-01-15 Dick Porter <[email protected]>
  152. * WaitHandle.cs:
  153. * Thread.cs: Make the runtime's idea of infinite timeouts coincide
  154. with the class library's
  155. 2002-01-10 Dick Porter <[email protected]>
  156. * WaitHandle.cs: Added checks for too many handles and null
  157. handles in WaitAll() and WaitAny
  158. 2002-01-05 Ravi Pratap <[email protected]>
  159. * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
  160. decoration.
  161. * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
  162. Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.
  163. 2001-12-11 Dick Porter <[email protected]>
  164. * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
  165. internal calls.
  166. 2001-11-26 Dick Porter <[email protected]>
  167. * Thread.cs: DataSlot uses a single system TLS slot, and a
  168. hashtable per thread. Some minor changes to reflect the new
  169. internal calls using the new IO library, and the newly-supported
  170. bool returns from internal calls.
  171. * Monitor.cs: Use bool returns from internal calls now they are
  172. supported by the runtime. Coalesce enter with the try_enter
  173. internal call.
  174. Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]>
  175. * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
  176. 2001-10-03 Dick Porter <[email protected]>
  177. * Monitor.cs: Implemented all methods except the two Wait()
  178. methods that take boolean parameters
  179. 2001-09-28 Dick Porter <[email protected]>
  180. * Thread.cs: Implemented AllocateDataSlot(),
  181. AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
  182. GetNamedDataSlot(), SetData(), IsBackground. Reworked Thread()
  183. and Start() to avoid a race condition. Added thread-safe state
  184. changing private operations.
  185. * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet
  186. 2001-09-25 Dick Porter <[email protected]>
  187. * Thread.cs: Implement Join and timed Join, set correct state
  188. around Start, Join and Sleep calls, implement IsAlive and
  189. ThreadState properties.
  190. * ThreadState.cs (Threading): Added StopRequested,
  191. SuspendRequested, Suspended values
  192. 2001-09-23 Dick Porter <[email protected]>
  193. * Thread.cs: Implemented CurrentThread and Sleep (both versions)
  194. with internal calls, and Name.
  195. 2001-09-21 Dick Porter <[email protected]>
  196. * Thread.cs: Implement Thread(ThreadStart) constructor and Start()
  197. with an internal call
  198. * WaitHandle.cs: Close calls Dispose(false)
  199. 2001-09-13 Dick Porter <[email protected]>
  200. * ApartmentState.cs (Threading): Set the correct enum values
  201. 2001-09-13 Dick Porter <[email protected]>
  202. * ApartmentState.cs, AutoResetEvent.cs, IOCompletionCallback.cs,
  203. Interlocked.cs, LockCookie.cs, ManualResetEvent.cs, Monitor.cs,
  204. Mutex.cs, NativeOverlapped.cs, Overlapped.cs, ReaderWriterLock.cs,
  205. RegisteredWaitHandle.cs, SynchronizationLockException.cs,
  206. Thread.cs, ThreadAbortException.cs, ThreadInterruptedException.cs,
  207. ThreadPool.cs, ThreadStart.cs, ThreadStateException.cs,
  208. Timeout.cs, Timer.cs, TimerCallback.cs, WaitCallback.cs,
  209. WaitHandle.cs, WaitOrTimerCallback.cs: System.Threading class
  210. stubs.
  211. 2001-07-18 Michael Lambert <[email protected]>
  212. * ThreadPriority.cs, ThreadState.cs: Add.