ChangeLog 11 KB

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