ChangeLog 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773
  1. 2005-05-19 Miguel de Icaza <[email protected]>
  2. * Thread.cs: REmove warnings.
  3. 2005-05-16 Gonzalo Paniagua Javier <[email protected]>
  4. * Thread.cs: first check for null, then set in_currentculture.
  5. 2005-05-12 Lluis Sanchez Gual <[email protected]>
  6. * Thread.cs: Moved all checks done inside sync_lock to unmanaged code.
  7. Merged Thread_internal and Start_internal into a single icall, which
  8. does all work.
  9. 2005-05-11 Sebastien Pouliot <[email protected]>
  10. * CompressedStack.cs: Allow merging of an existing CompressedStack
  11. with the actual stack of the current Thread.
  12. * Thread.cs: GetCompressedStack and SetCompressedStack are public
  13. before 2.0 but couldn't be seen with mono-api-info because of it's
  14. LinkDemand for the ECMA public key. Removed unused CompressedStack
  15. private field (now part of the ExecutionContext).
  16. 2005-05-09 Sebastien Pouliot <[email protected]>
  17. * CompressedStack.cs: GetCompressedStack is public before 2.0 but
  18. couldn't be seen with mono-api-info because of it's LinkDemand for
  19. the ECMA public key. Stack capture occurs here if none exists on the
  20. current thread.
  21. 2005-04-28 Gonzalo Paniagua Javier <[email protected]>
  22. * ReaderWriterLock.cs: fix random ApplicationException errors. Tested
  23. with the System.Web.Cache stress program. Patch by Eyal Alayuf
  24. (Mainsoft). Fixes 74598.
  25. 2005-04-28 Sebastien Pouliot <[email protected]>
  26. * Thread.cs: Added property to get the ExecutionContext in 2.0. Fixed
  27. GetCompressedStack and made SetCompressedStack available (as internal)
  28. before NET_2_0.
  29. 2005-04-28 Sebastien Pouliot <[email protected]>
  30. * AsyncFlowControl.cs: Updated wrt beta2.
  31. * ExecutionContext.cs: Updated wrt beta2. Class is now internal in
  32. NET_1_1 to allow the compressed stack propagation to other threads.
  33. * CompressedStack.cs: Updated wrt beta2. Class is internal in NET_1_1
  34. to allow the compressed stack propagation to other threads.
  35. * ContextCallback.cs: Updated wrt beta2.
  36. * HostExecutionContext.cs: Updated wrt beta2.
  37. * HostExecutionContextManager.cs: Updated wrt beta2.
  38. * Thread.cs: Added internal property to get the ExecutionContext.
  39. 2005-04-19 Zoltan Varga <[email protected]>
  40. * Thread.cs: Add some unused fields.
  41. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  42. * ThreadPool.cs: BindHandle does nothing now.
  43. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  44. * Thread.cs: clear the Unstarted bit before calling Start_internal.
  45. Fixes bug #72738.
  46. 2005-04-04 Ben Maurer <[email protected]>
  47. * Thread.cs: Do argument checking for Current[UI]Culture to make
  48. the exception more clear for a null value being set.
  49. 2005-03-24 Sebastien Pouliot <[email protected]>
  50. * CompressedStack.cs: Added LinkDemand for UnmanagedCode and ECMA
  51. public key on GetCompressedStack method.
  52. * Mutex: Added LinkDemand for UnmanagedCode to create named (system
  53. wide) mutexes.
  54. * Thread.cs: Added LinkDemand for ECMA public key on [Get|Set]
  55. CompressedStack methods.
  56. * WaitHandle.cs: Added LinkDemand and InheritanceDemand for
  57. UnmanagedCode on set Handle property.
  58. 2005-03-10 Zoltan Varga <[email protected]>
  59. * Thread.cs: Make slothash a ThreadStatic field. Fixes #65414.
  60. 2005-02-21 Zoltan Varga <[email protected]>
  61. * Monitor.cs Interlocked.cs: Add net 2.0 ReliabilityContractAttributes.
  62. 2005-02-20 Zoltan Varga <[email protected]>
  63. * Interlocked.cs: Applied patch from Luca Barbieri ([email protected]). Add NET 2.0 methods.
  64. Tue Feb 15 18:19:11 CET 2005 Paolo Molaro <[email protected]>
  65. * Thread.cs: make the slothash a field in MonoThread.
  66. 2005-01-27 Sebastien Pouliot <[email protected]>
  67. * Overlapped.cs: Added check for ControlPolicy and ControlEvidence for
  68. Unsafe pack. Added MonoTODO for missing security stack propagation.
  69. * Thread.cs: Add security checks for ControlThread.
  70. * ThreadPool.cs: Added declarative security checks.
  71. Thu Jan 13 18:15:32 CET 2005 Paolo Molaro <[email protected]>
  72. * Thread.cs: implement stacksize and parameterized
  73. start functionality (requires matching runtime).
  74. 2005-01-12 Gonzalo Paniagua Javier <[email protected]>
  75. * ThreadAbortException.cs: added private serialization .ctor.
  76. 2004-12-20 Sebastien Pouliot <[email protected]>
  77. * CompressedStack.cs: Implemented most todo so it's usable for CAS.
  78. * CompressedStackSwitcher.cs: Implemented most todo.
  79. * Thread.cs: Implement support for getting/setting CompressedStack.
  80. 2004-12-15 Zoltan Varga <[email protected]>
  81. * Thread.cs: Change type of culture_info and ui_culture_info to
  82. IntPtr. Implement correct culture handling for the UI culture as
  83. well.
  84. 2004-12-14 Zoltan Varga <[email protected]>
  85. * Thread.cs: Optimize CurrentCulture to avoid initializing the
  86. serialization infrastructure in the common case when the culture is
  87. not set explicitly.
  88. 2004-12-06 Zoltan Varga <[email protected]>
  89. * Thread.cs: Add new fields 'serialized_culture_info{_len}'.
  90. * Thread.cs (CurrentCulture): Fix leaking of culture info objects
  91. across appdomains. Partially fixes #50049.
  92. 2004-12-05 Miguel de Icaza <[email protected]>
  93. * AutoResetEvent.cs (Set, Reset): If we are disposed, throw a
  94. ObjectDisposedEvent, helped track the WebConnection destructor
  95. issue.
  96. 2004-09-16 Gonzalo Paniagua Javier <[email protected]>
  97. * Timer.cs: don't invoke the callback twice when the timer changes.
  98. Fixes bug #66116.
  99. 2004-09-08 Marek Safar <[email protected]>
  100. * Interlocked.cs: Class is static in NET_2_0.
  101. 2004-09-04 Sebastien Pouliot <[email protected]>
  102. * Thread.cs: Changed an imperative security demand to declarative
  103. (unsupported) so it doesn't (for now) call the security runtime.
  104. 2004-08-20 Sebastien Pouliot <[email protected]>
  105. * Thread.cs: Added Fx 2.0 properties/methods/attributes.
  106. 2004-08-12 Sebastien Pouliot <[email protected]>
  107. * CompressedStackSwitcher.cs: Added missing [ComVisible] and
  108. [ReliabilityContract] attributes.
  109. * ExecutionContext.cs: Added missing [ComVisible] and
  110. [Serializable] attributes.
  111. * HostExecutionContext.cs: Added missing [ComVisible] attribute.
  112. * HostExecutionContextManager.cs: Added missing [ComVisible] and
  113. [ReliabilityContract] attributes.
  114. * HostExecutionContextSwitcher.cs: Added missing Equals and
  115. GetHashCode methods and [ComVisible] and [ReliabilityContract] attrs.
  116. * ParameterizedThreadStart.cs: New delegate in NET_2_0.
  117. * SendOrPostCallback.cs: Added missing [ComVisible] attribute.
  118. * SynchronizationContext.cs: Added new (2.0 beta1) methods Copy and
  119. WaitHelper. Added missing [ComVisible] and [ReliabilityContract] attrs.
  120. * SynchronizationContextSwitcher.cs: Added missing [ComVisible] and
  121. [ReliabilityContract] attributes.
  122. 2004-08-08 Sebastien Pouliot <[email protected]>
  123. * HostExecutionContext.cs: Fx 2.0 stub required for AppDomain.
  124. * HostExecutionContextManager.cs: Fx 2.0 stub required for AppDomain.
  125. * HostExecutionContextSwitcher.cs: Fx 2.0 stub required for AppDomain.
  126. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  127. * Timer.cs: don't invoke the callback if the period changes before the
  128. due time. Fixes bug #62421.
  129. 2004-07-27 Lluis Sanchez Gual <[email protected]>
  130. * ExecutionContext.cs, ExecutionContextSwitcher.cs,
  131. SynchronizationContext.cs, SynchronizationContextSwitcher.cs: Added
  132. 2.0 stubs.
  133. 2004-07-15 Dick Porter <[email protected]>
  134. * Thread.cs: Hold a lock in GetNamedDataSlot. Fixes bug 61582,
  135. based on patch by Sbastien Robitaille
  136. ([email protected]). Also fix instances of
  137. lock(typeof(Thread)) to lock a private object instead.
  138. 2004-07-14 Sebastien Pouliot <[email protected]>
  139. * AsyncFlowControl.cs: New structure in Fx 2.0 required in
  140. System.Security namespace.
  141. * CompressedStackSwitcher.cs: New structure in Fx 2.0 required in
  142. System.Security namespace.
  143. * ContextCallback.cs: New delegate in Fx 2.0 required in
  144. System.Security namespace.
  145. * CompressedStack.cs: Updated API for NET_2_0 profile.
  146. 2004-07-10 Lluis Sanchez Gual <[email protected]>
  147. * SendOrPostCallback.cs: New delegate.
  148. 2004-06-24 Dick Porter <[email protected]>
  149. * Mutex.cs: Implement the createdNew parameter
  150. 2004-06-15 Gert Driesen <[email protected]>
  151. * Thread.cs: changed return type of VolatileRead to UIntPtr
  152. * ThreadPool.cs: set return type of SetMinThreads to bool
  153. 2004-06-15 Lluis Sanchez Gual <[email protected]>
  154. * Thread.cs: Added new fields to keep sync with MonoThread.
  155. Removed state changes in Sleep and Join. The state change is now done
  156. in the icall. For accessing to internal fields lock with synch_lock
  157. instead of this, which can be a source of deadlocks.
  158. 2004-06-15 Lluis Sanchez Gual <[email protected]>
  159. * Timer.cs: Don't abort the thread if Dispose() is called from the runner
  160. thread.
  161. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  162. * Thread.cs:
  163. (CurrentPrincipal): lock on CurrentThread, not typeof (Thread) and set
  164. the thread IPrincipal if we get it from the AppDomain.
  165. 2004-06-09 Gert Driesen <[email protected]>
  166. * CompressedStack.cs: Added finalizer to match public API of
  167. MS.NET
  168. 2004-05-19 Lluis Sanchez Gual <[email protected]>
  169. * Thread.cs: Some fixes in Abort. Implemented Suspend and Resume.
  170. Added internal interruption_requested field.
  171. 2004-05-13 Sebastien Pouliot <[email protected]>
  172. * CompressedStack.cs: Added an internal constructor so a default one
  173. doesn't appear with corcompare.
  174. * Thread.cs: Added missing MemoryBarrier (only for 1.1) and SpinWait to please
  175. corcompare. Both throw a NotImplementedException.
  176. * ThreadPool.cs: Added missing UnsafeRegisterWaitForSingleObject methods (4
  177. overloads) to please corcompare. All throw a NotImplementedException.
  178. 2004-05-12 Zoltan Varga <[email protected]>
  179. * CompressedStack.cs: New file.
  180. 2004-04-15 Lluis Sanchez Gual <[email protected]>
  181. * ThreadPool.cs: Added GetMinThreads and SetMinThreads.
  182. * Timer.cs: In Change, return false if the timer has been disposed.
  183. In Dispose, notify the WaitHandle.
  184. 2004-04-11 Lluis Sanchez Gual <[email protected]>
  185. * ReaderWriterLock.cs: More fixes: never wait where acquiring a reader lock
  186. if the thread already has the lock. Added readyWaitingReaders variable to
  187. keep track of threads ready to get the reader lock.
  188. 2004-04-11 Lluis Sanchez Gual <[email protected]>
  189. * LockQueue.cs: Moved lockCount change inside the rwlock lock. Removed
  190. lock(this) when entering the rwlock to avoid a deadlock.
  191. * ReaderWriterLock.cs: In AcquireWriterLock, queue the thread if the queue
  192. is not empty (even if state==0).
  193. 2004-04-09 Zoltan Varga <[email protected]>
  194. * Timer.cs: Call the callback immediately if dueTime is 0. Fixes
  195. #56728.
  196. 2004-04-08 Jackson Harper <[email protected]>
  197. * ReaderWriterLock.cs: Fix tyop
  198. 2004-04-08 Lluis Sanchez Gual <[email protected]>
  199. * ReaderWriterLock.cs: Changed some methods to private.
  200. * WaitHandle.cs: In Wait methods, release the synchronization context when
  201. exitContext is true.
  202. 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
  203. * Timer.cs: call Abort on the Runner instance too.
  204. 2004-04-07 Jackson Harper <[email protected]>
  205. * Thread.cs: Use new culture info method for constructing the
  206. current culture.
  207. 2004-04-07 Lluis Sanchez Gual <[email protected]>
  208. * ReaderWriterLock.cs: When a thread holds a writer lock, a call to
  209. AcquireReaderLock works like a call to AcquireWriterLock.
  210. 2004-04-06 Lluis Sanchez Gual <[email protected]>
  211. * Monitor.cs: In Wait(), release the synchronization context when
  212. exitContext is true.
  213. 2004-04-06 Lluis Sanchez Gual <[email protected]>
  214. * LockCookie.cs: Keep in this class the count of reader or writer locks
  215. for a thread, not only whether it has locks or not.
  216. * LockQueue.cs: Added property for checking if a thread is waiting in
  217. the queue. Wait now returns a boolean that set to false on timeout
  218. expiration.
  219. * ReaderWriterLock.cs: Started fixing bugs but I had to rewrite a lot of it.
  220. The main change is that now it keeps a reader lock count for each
  221. thread. This is needed since methods like ReleaseLock or
  222. UpgradeToWriterLock need to return a per-thread status in LockCookie.
  223. Also added support for recursive writer-lock requests.
  224. 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
  225. * ThreadAbortException.cs: use same HResult as MS.
  226. * Timer.cs: abort the running thread when disposing the Timer. This
  227. fixes NullRefs when finishing xsp.
  228. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  229. * NativeOverlapped.cs: added 2 new internal fields.
  230. * Overlapped.cs: implemented, but it's not used.
  231. * ThreadPool.cs: implemented BindHandle.
  232. 2004-03-08 Zoltan Varga <[email protected]>
  233. * Timer.cs (Dispose): Applied patch from Jaroslaw Kowalski
  234. ([email protected]). Fix finalization problems during appdomain unload.
  235. 2004-02-23 Jackson Harper <[email protected]>
  236. * LockCookie.cs: Add some fields for restoring locks.
  237. * ReaderWriterLock.cs: Implement
  238. * LockQueue.cs: New File - used for queueing thread locks in
  239. ReaderWriterLock.
  240. 2004-02-19 Jackson Harper <[email protected]>
  241. * Monitor.cs: Fix spelleng.
  242. 2004-02-09 Zoltan Varga <[email protected]>
  243. * Thread.cs: Add fields added to unmanaged MonoThread here as well.
  244. Fixes random errors caused by memory corruption.
  245. 2004-02-06 Zoltan Varga <[email protected]>
  246. * Thread.cs: Store the thread name in unmanaged memory, since the
  247. thread object is shared between appdomains.
  248. 2004-02-05 Sebastien Pouliot <[email protected]>
  249. * Thread.cs: Implemented CurrentPrincipal.
  250. 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
  251. * Thread.cs: delayed thread creation until Start is called. If we
  252. don't do that and Start() is not called, the thread is leaked. First
  253. step towards fixing bug #53078.
  254. 2003-12-02 Dick Porter <[email protected]>
  255. * Thread.cs: Throw InvalidOperationException if Thread.Name is
  256. already set.
  257. 2003-12-01 Dick Porter <[email protected]>
  258. * Thread.cs: Implement CurrentCulture and CurrentUICulture
  259. 2003-11-12 Miguel de Icaza <[email protected]>
  260. * Thread.cs: Add new VolatileRead/VolatileWrite methods from 1.1
  261. 2003-10-23 Lluis Sanchez Gual <[email protected]>
  262. * Thread.cs: Added ResetDataStoreStatus and RestoreDataStoreStatus
  263. methods. They are used in CrossAppDomainChannel to save and restore
  264. thread's local data when switching between domains.
  265. 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
  266. * ManualResetEvent.cs: added check for disposed.
  267. * Thread.cs: no need to init this field.
  268. 2003-10-01 Zoltan Varga <[email protected]>
  269. * Thread.cs: Add locking to AllocateNamedDataSlot and
  270. FreeNamedDataSlot.
  271. Wed Aug 20 12:01:36 CEST 2003 Paolo Molaro <[email protected]>
  272. * Thread.cs: put all the fields at the start and add
  273. more fields needed by the runtime.
  274. 2003-08-14 Lluis Sanchez Gual <[email protected]>
  275. * Thread.cs: SetData() method: use Hashtable.Contains to check
  276. if a dataslot has been allocated (value could be null).
  277. 2003-07-23 Duncan Mak <[email protected]>
  278. * WaitHandle.cs (CheckDisposed): This method is not in the public
  279. API, mark it as 'internal'.
  280. 2003-07-01 Dick Porter <[email protected]>
  281. * Thread.cs: Throw an exception if thread creation failed.
  282. (Better than just blowing up later.)
  283. 2003-06-27 Dietmar Maurer <[email protected]>
  284. * ThreadPool.cs: use async delegate invoke.
  285. 2003-06-25 Dick Porter <[email protected]>
  286. * WaitHandle.cs: Default handle value should be InvalidHandle, not
  287. Zero.
  288. 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
  289. * ThreadPool.cs: correctly create a TimeSpan with provided the number of
  290. milliseconds.
  291. * WaitHandle.cs: fixes for WaitAny/All and TimeSpan.
  292. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  293. * WaitHandle.cs: checks and exceptions.
  294. 2003-06-02 Gonzalo Paniagua Javier <[email protected]>
  295. * NativeEventCalls.cs: added CloseEvent_intenal.
  296. * WaitHandle.cs: call CloseEvent_internal when disposing.
  297. 2003-05-31 Gonzalo Paniagua Javier <[email protected]>
  298. * RegisteredWaitHandle.cs: check that the callback is not null before
  299. invoking.
  300. * ThreadPool.cs: fixed timeout -> TimeSpan conversions (closes bug
  301. #43963). Queue the item before setting the handle. If there's a timeout,
  302. avoid trying to Dequeue, getting the exception et al, just continue the
  303. loop.
  304. Mon May 19 09:07:45 CEST 2003 Paolo Molaro <[email protected]>
  305. * Monitor.cs: removed test_owner, the check is already done in the
  306. icall.
  307. Tue May 13 15:34:29 CEST 2003 Paolo Molaro <[email protected]>
  308. * Thread.cs: added missing field used by the runtime and
  309. a new field to support thread-static data.
  310. 2003-04-17 Pedro Mart�ez Juli� <[email protected]>
  311. * Timer.cs: Change the position of two lines because they were
  312. before the "if" that ensures the integrity. After this, the first of
  313. that two lines was producing a NullReferenceException.
  314. 2003-04-09 Dick Porter <[email protected]>
  315. * Thread.cs: Make sure a reference to the ThreadStart delegate is
  316. held. There's no telling how long it will be before
  317. Thread.Start() is called, and GC might destroy the delegate.
  318. Thread() and Start() need to be rewritten so that the runtime
  319. creates the new thread when Start() is called, which will simplify
  320. the code a great deal.
  321. 2003-03-20 Miguel de Icaza <[email protected]>
  322. * Thread.cs (CurrentCuluture): use the invaraint culture instead
  323. of "" for the current_culture setting.
  324. 2003-03-25 Zoltan Varga <[email protected]>
  325. * Thread.cs: Fix visibility of ResetAbort().
  326. 2003-03-18 Dick Porter <[email protected]>
  327. * Thread.cs: Keep the thread state updated in all the places that
  328. require it. (Suspend, Resume and Interrupt not handled yet)
  329. 2003-03-03 Lluis Sanchez Gual <[email protected]>
  330. * Thread.cs: Changed implementation of CurrentContext, adapted to the changes
  331. in the runtime.
  332. 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
  333. * Thread.cs: implemented CurrentContext.
  334. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  335. * Thread.cs: made the thread_id for the current thread accesible through
  336. an internal property.
  337. 2003-02-17 Dick Porter <[email protected]>
  338. * Thread.cs: Added the Start semaphore field to the class. Update
  339. the thread state after Start() has returned, not before.
  340. 2003-02-13 Zoltan Varga <[email protected]>
  341. * Thread.cs (Sleep): Timeout.Infinite is a value argument.
  342. 2003-02-11 Dick Porter <[email protected]>
  343. * Monitor.cs: Infinite wait is Infinite, not 0 ms
  344. 2003-02-10 Gonzalo Paniagua Javier <[email protected]>
  345. * Thread.cs: fixed bug #37759.
  346. 2003-02-07 Patrik Torstensson
  347. * Timer.cs: Set the Background thread flag for the timer thread
  348. 2003-02-05 Patrik Torstensson
  349. * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool.
  350. 2003-02-04 Lluis Sanchez Gual <[email protected]>
  351. * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
  352. Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <[email protected]>
  353. * Thread.cs: delay-init datastorehash.
  354. 2003-01-10 Patrik Torstensson <[email protected]>
  355. * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a
  356. model more equal to the MS one.
  357. 2002-12-10 Dick Porter <[email protected]>
  358. * Monitor.cs:
  359. * Thread.cs:
  360. * ThreadPool.cs:
  361. * Timer.cs:
  362. * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
  363. ms, not Milliseconds.
  364. 2002-12-07 Martin Baulig <[email protected]>
  365. * Timer.cs: Make it actually work; now it no longer sets your
  366. application on fire if you use a zero periode and Timer.Change()
  367. actually works.
  368. 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
  369. * Timer.cs: implemented more stuff. It works now.
  370. 2002-10-25 Zoltan Varga <[email protected]>
  371. * Thread.cs: Implement GetDomain() and GetDomainID().
  372. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  373. * ThreadPool.cs: now the monitor thread is not sleeping and checking if
  374. more worker threads needed. It waits on _DataInQueue. If (and only if)
  375. there's data in the queue it checks if more worker threads needed and
  376. then sleeps 0.5s before waiting for queued data again.
  377. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  378. * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
  379. 2002-09-11 Dick Porter <[email protected]>
  380. * Mutex.cs:
  381. * ManualResetEvent.cs:
  382. * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
  383. the private field
  384. * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
  385. method
  386. 2002-09-03 Dick Porter <[email protected]>
  387. * Thread.cs: Added thread ID field
  388. 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
  389. * WaitHandle.cs: IDisposable fixes.
  390. 2002-08-14 Dick Porter <[email protected]>
  391. * Thread.cs: Make CurrentUICulture act the same as CurrentCulture
  392. for now.
  393. 2002-08-12 Dietmar Maurer <[email protected]>
  394. * ThreadAbortException.cs: impl. ExceptionState property.
  395. * Thread.cs: moved all instance variables to the start of the
  396. class. added support for Thread::Abort()
  397. 2002-04-30 Dick Porter <[email protected]>
  398. * Thread.cs: If LocalDataStoreSlot already has data set, remove it
  399. before adding a new one.
  400. Use the Thread object destructor to tell the runtime to close the
  401. thread handle.
  402. 2002-04-14 Patrik Torstensson <[email protected]>
  403. * Interlocked.cs: made all methods icalls.
  404. 2002-04-14 Gonzalo Paniagua Javier <[email protected]>
  405. * IOCompletionCallback.cs: added attributes to the delegate
  406. (CLSCompliant(false) and Serializable).
  407. 2002-04-14 Patrik Torstensson <[email protected]>
  408. * Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending
  409. the threadstate enum.
  410. * ThreadPool.cs: Now using the internal Isthreadpoolthread property
  411. * ThreadState.cs: removed non-standard enum (ThreadPoolThread)
  412. 2002-04-14 Patrik Torstensson <[email protected]>
  413. * ThreadState.cs: Added enum for threadpool thread
  414. * Thread.cs: changed the set/clr_state to be internal (used from threadpool)
  415. * Thread.cs: Added IsThreadPoolThread
  416. * ThreadPool.cs: Implementation of QueueUserWorkItem
  417. Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <[email protected]>
  418. * Thread.cs: implement CurrentCulture property needed by
  419. Convert.ChangeType() (used when compiling enums).
  420. 2002-01-23 Dick Porter <[email protected]>
  421. * ManualResetEvent.cs:
  422. * AutoResetEvent.cs: Fixed DOS line endings
  423. 2002-01-22 Veronica De Santis <[email protected]>
  424. * NativeEventCalls : Class that contains internal calls shared by Auto
  425. and Manual Reset Events
  426. * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
  427. * ManualResetEvents.cs : Added class ManualResetEvents and its implementation
  428. 2002-01-16 Veronica De Santis <[email protected]>
  429. * WaitHandle.cs : Renamed handle to os_handle and make it protected
  430. instead of private.
  431. * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
  432. and the ReleaseMutex)
  433. 2002-01-15 Dick Porter <[email protected]>
  434. * WaitHandle.cs:
  435. * Thread.cs: Make the runtime's idea of infinite timeouts coincide
  436. with the class library's
  437. 2002-01-10 Dick Porter <[email protected]>
  438. * WaitHandle.cs: Added checks for too many handles and null
  439. handles in WaitAll() and WaitAny
  440. 2002-01-05 Ravi Pratap <[email protected]>
  441. * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
  442. decoration.
  443. * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
  444. Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.
  445. 2001-12-11 Dick Porter <[email protected]>
  446. * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
  447. internal calls.
  448. 2001-11-26 Dick Porter <[email protected]>
  449. * Thread.cs: DataSlot uses a single system TLS slot, and a
  450. hashtable per thread. Some minor changes to reflect the new
  451. internal calls using the new IO library, and the newly-supported
  452. bool returns from internal calls.
  453. * Monitor.cs: Use bool returns from internal calls now they are
  454. supported by the runtime. Coalesce enter with the try_enter
  455. internal call.
  456. Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]>
  457. * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
  458. 2001-10-03 Dick Porter <[email protected]>
  459. * Monitor.cs: Implemented all methods except the two Wait()
  460. methods that take boolean parameters
  461. 2001-09-28 Dick Porter <[email protected]>
  462. * Thread.cs: Implemented AllocateDataSlot(),
  463. AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
  464. GetNamedDataSlot(), SetData(), IsBackground. Reworked Thread()
  465. and Start() to avoid a race condition. Added thread-safe state
  466. changing private operations.
  467. * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet
  468. 2001-09-25 Dick Porter <[email protected]>
  469. * Thread.cs: Implement Join and timed Join, set correct state
  470. around Start, Join and Sleep calls, implement IsAlive and
  471. ThreadState properties.
  472. * ThreadState.cs (Threading): Added StopRequested,
  473. SuspendRequested, Suspended values
  474. 2001-09-23 Dick Porter <[email protected]>
  475. * Thread.cs: Implemented CurrentThread and Sleep (both versions)
  476. with internal calls, and Name.
  477. 2001-09-21 Dick Porter <[email protected]>
  478. * Thread.cs: Implement Thread(ThreadStart) constructor and Start()
  479. with an internal call
  480. * WaitHandle.cs: Close calls Dispose(false)
  481. 2001-09-13 Dick Porter <[email protected]>
  482. * ApartmentState.cs (Threading): Set the correct enum values
  483. 2001-09-13 Dick Porter <[email protected]>
  484. * ApartmentState.cs, AutoResetEvent.cs, IOCompletionCallback.cs,
  485. Interlocked.cs, LockCookie.cs, ManualResetEvent.cs, Monitor.cs,
  486. Mutex.cs, NativeOverlapped.cs, Overlapped.cs, ReaderWriterLock.cs,
  487. RegisteredWaitHandle.cs, SynchronizationLockException.cs,
  488. Thread.cs, ThreadAbortException.cs, ThreadInterruptedException.cs,
  489. ThreadPool.cs, ThreadStart.cs, ThreadStateException.cs,
  490. Timeout.cs, Timer.cs, TimerCallback.cs, WaitCallback.cs,
  491. WaitHandle.cs, WaitOrTimerCallback.cs: System.Threading class
  492. stubs.
  493. 2001-07-18 Michael Lambert <[email protected]>
  494. * ThreadPriority.cs, ThreadState.cs: Add.