ChangeLog 25 KB

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