ChangeLog 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231
  1. 2008-06-18 Kornél Pál <[email protected]>
  2. * Thread.cs: Implement BeginThreadAffinity and EndThreadAffinity as no-op
  3. because managed and native threads are currently bound together.
  4. 2008-06-14 Zoltan Varga <[email protected]>
  5. * Thread.cs: Sync layout with unmanaged side.
  6. 2008-06-07 Zoltan Varga <[email protected]>
  7. * Monitor.cs: Implement Enter/Exit directly as icalls without managed wrapper
  8. methods.
  9. 2008-04-11 Zoltan Varga <[email protected]>
  10. * Thread.cs: Make in_currentculture non-static. Fixes #378892.
  11. 2008-04-07 Dick Porter <[email protected]>
  12. * Thread.cs: Fix throwing of exceptions when manipulating
  13. ApartmentState. Fixes part of bug 324338.
  14. 2008-04-01: Eyal Alaluf <[email protected]>
  15. * Thread.cs: Put a NumberFormatter instance as a member of the current
  16. thread so it can reused for performint ToString conversions.
  17. 2008-03-26 Massimiliano Mantione <[email protected]>
  18. * Thread.cs: Renamed "unused6" because it will be used to hold
  19. the "mono_thread_manage" callback.
  20. Tue Feb 26 17:51:58 CET 2008 Paolo Molaro <[email protected]>
  21. * Timer.cs: use a monotonic clock to schedule timers
  22. (fixes part of bug#347476).
  23. Fri Feb 22 11:23:53 CET 2008 Paolo Molaro <[email protected]>
  24. * Thread.cs: implemented Begin/EndCriticalRegion.
  25. 2008-02-03 Sebastien Pouliot <[email protected]>
  26. * WaitHandle.cs: Ifdef out some unused code (found by Gendarme).
  27. 2008-01-06 Zoltan Varga <[email protected]>
  28. * Thread.cs (set_CurrentCulture): If the culture is read-only, cache the result
  29. of serializing it.
  30. (set_CurrentUICulture): Ditto.
  31. 2008-01-03 Zoltan Varga <[email protected]>
  32. * Thread.cs (set_CurrentCulture): Avoid the serialization overhead if
  33. the new culture is equal to the old one.
  34. 2007-12-27 Zoltan Varga <[email protected]>
  35. * Thread.cs: Change the type of synch_cs to an IntPtr to be in synch with the
  36. unmanaged definition.
  37. 2007-11-20 Atsushi Enomoto <[email protected]>
  38. * ReaderWriterLock.cs : ... and avoid extra finalizer call.
  39. 2007-11-20 Atsushi Enomoto <[email protected]>
  40. * ReaderWriterLock.cs : adding missing 2.0 destructor (does nothing).
  41. Thu Nov 8 18:36:25 CET 2007 Paolo Molaro <[email protected]>
  42. * Timer.cs: if period is 0 with a non-infinite due time, we
  43. run the callback just once (bug #340212).
  44. 2007-10-24 Dick Porter <[email protected]>
  45. * Thread.cs: Call Thread_init on the new 2.0 constructors too.
  46. 2007-10-24 Dick Porter <[email protected]>
  47. * Thread.cs: Assign the ManagedThreadId when it is asked for,
  48. rather than in the constructor, so ThreadPool threads also work.
  49. Fixes bug 335579 (and doesn't break 325367 or 325566)
  50. 2007-10-24 Atsushi Enomoto <[email protected]>
  51. * SynchronizationContext.cs : removed SendOrPost().
  52. Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <[email protected]>
  53. * Timer.cs: better cleanup test for the expired array.
  54. Tue Oct 16 17:22:15 CEST 2007 Paolo Molaro <[email protected]>
  55. * Timer.cs: remove expired timers from the the jobs list.
  56. Tue Oct 16 12:14:43 CEST 2007 Paolo Molaro <[email protected]>
  57. * Timer.cs: rewrote to use threadpool threads to invoke the callbacks,
  58. avoid Thread.Abort and Thread.Interrupt and use a single scheduler
  59. thread, partially from the patch of Rafael Ferreira in bug #315999.
  60. Fixes bug #315999, #332206.
  61. 2007-10-15 Dick Porter <[email protected]>
  62. * Thread.cs: Initialise synch_cs to null now we aren't using it as
  63. a monitor lock
  64. 2007-09-25 Dick Porter <[email protected]>
  65. * Thread.cs: Keep ManagedThreadId constant over the lifetime of a
  66. Thread. Patch from [email protected] fixing bugs 325367 and
  67. 325566.
  68. 2007-09-25 Jonathan Pobst <[email protected]>
  69. * SynchronizationContext.cs: Implement SetSynchronizationContext.
  70. 2007-09-06 Dick Porter <[email protected]>
  71. * Timer.cs: Only hold a WeakReference to the runner thread, to
  72. work around an issue when finalizing at shutdown or (I think)
  73. appdomain unload. (Basically, the Thread was being finalized
  74. first, but the Timer's finalizer was still trying to reference it
  75. subsequently.)
  76. 2007-08-10 Gert Driesen <[email protected]>
  77. * Thread.cs: Throw ThreadStateException when retrieving ApartmentState
  78. or IsBackground if thread is stopped. Fixes bug #81658.
  79. 2007-08-08 Zoltan Varga <[email protected]>
  80. * Thread.cs: Add a fixme.
  81. 2007-07-21 Miguel de Icaza <[email protected]>
  82. * WaitHandle.cs (Handle): It turns out that we should never create
  83. new SafeWaitHandles, as applications will assume that a
  84. SafeWaitHandle pulled from this will be the same after a Handle
  85. update (from Gert's test):
  86. AutoResetEvent are1 = new AutoResetEvent (false);
  87. AutoResetEvent are2 = new AutoResetEvent (false);
  88. SafeWaitHandle swh1 = are1.SafeWaitHandle;
  89. Console.WriteLine ("#A1:" + !swh1.IsClosed);
  90. Console.WriteLine ("#A2:" + !swh1.IsInvalid);
  91. IntPtr dummyHandle = (IntPtr) 2;
  92. are1.Handle = dummyHandle;
  93. Console.WriteLine ("#A3:" + (are1.Handle == dummyHandle));
  94. Console.WriteLine ("#A4:" + !swh1.IsClosed);
  95. Console.WriteLine ("#A5:" + !swh1.IsClosed);
  96. Console.WriteLine ("#A6:" + !swh1.IsInvalid);
  97. Console.WriteLine ("#A7:" + !are1.SafeWaitHandle.IsClosed);
  98. Console.WriteLine ("#A8:" +
  99. !are1.SafeWaitHandle.IsInvalid);
  100. We would return in A4, A5, A6 true, even when we have set the
  101. Handle ourselves.
  102. *
  103. 2007-07-18 Miguel de Icaza <[email protected]>
  104. * WaitHandle.cs (Handle): in the 2.0 profile, explicitly dispose
  105. the old SafeWaitHandle, do not wait for the finalizer to run;
  106. Take ownership of the handle; The docs did not say that
  107. assigning to this value would lead to a leak, the docs said that
  108. in the 1.0 and 1.1 profiles assigning to this property might lead
  109. to a leak. My mistake.
  110. Fixes: 82134
  111. 2007-07-09 Atsushi Enomoto <[email protected]>
  112. * LockCookie.cs, AsyncFlowControl.cs :
  113. added missing operator == and !=.
  114. 2007-05-22 Jonathan Chambers <[email protected]>
  115. * Thread.cs: Use & to check ThreadState rather than ==.
  116. Fixes AlbumSurfer regression.
  117. 2007-05-09 Jonathan Chambers <[email protected]>
  118. * Thread.cs: Implement ApartmentState related items.
  119. 2007-05-02 Dick Porter <[email protected]>
  120. * ReaderWriterLock.cs: ReaderWriterLock derives from
  121. CriticalFinalizerObject in the 2.0 profile
  122. 2007-05-01 Dick Porter <[email protected]>
  123. * ThreadState.cs:
  124. * AsyncFlowControl.cs:
  125. * Interlocked.cs:
  126. * RegisteredWaitHandle.cs:
  127. * TimerCallback.cs:
  128. * ThreadStateException.cs:
  129. * Monitor.cs:
  130. * ThreadStart.cs:
  131. * WaitOrTimerCallback.cs:
  132. * LockCookie.cs:
  133. * EventWaitHandle.cs:
  134. * WaitHandle.cs:
  135. * ThreadAbortException.cs:
  136. * ThreadPriority.cs:
  137. * ReaderWriterLock.cs:
  138. * NativeOverlapped.cs:
  139. * Mutex.cs:
  140. * Overlapped.cs:
  141. * ThreadPool.cs:
  142. * ApartmentState.cs:
  143. * EventResetMode.cs:
  144. * SynchronizationLockException.cs:
  145. * ManualResetEvent.cs:
  146. * WaitCallback.cs:
  147. * IOCompletionCallback.cs:
  148. * AutoResetEvent.cs:
  149. * AbandonedMutexException.cs:
  150. * SendOrPostCallback.cs:
  151. * ThreadInterruptedException.cs: Update to 2.0 profile
  152. Thu Apr 19 16:47:52 CEST 2007 Paolo Molaro <[email protected]>
  153. * ThreadPool.cs: patch from Robert Jordan to implement
  154. ThreadPool.SetMaxThreads.
  155. 2007-04-03 Alp Toker <[email protected]>
  156. * Monitor.cs: Class is static in 2.0.
  157. 2007-03-27 Dick Porter <[email protected]>
  158. * Mutex.cs: Throw ApplicationException if ReleaseMutex() fails.
  159. Fixes bug 79358.
  160. Tue Jan 23 17:43:50 CET 2007 Paolo Molaro <[email protected]>
  161. * Thread.cs: mark the GC-tracked field with UIntPtr.
  162. 2006-12-31 Miguel de Icaza <[email protected]>
  163. * ThreadPool.cs: Stub a method.
  164. 2006-12-11 Miguel de Icaza <[email protected]>
  165. * WaitHandle.cs: In 2.0 use SafeWaitHandles and the SafeWaitHandle
  166. patterns instead of using directly the IntPtr Handle.
  167. Refactor the code to reuse as much as possible, and follow the new
  168. conventions where appropriate.
  169. 2006-11-07 Robert Jordan <[email protected]>
  170. * WaitHandle.cs: Don't assume Assembly.GetEntryAssembly () !=
  171. null. Fixes bug #79859.
  172. 2006-11-02 Dick Porter <[email protected]>
  173. * Thread.cs: Use the new Interrupt and SpinWait icalls.
  174. 2006-07-04 Atsushi Enomoto <[email protected]>
  175. * WaitHandle.cs : CheckArray() is also used in WaitAny(), so added
  176. extra argument to skip STAThread check.
  177. 2006-06-30 Duncan Mak <[email protected]>
  178. * WaitHandle.cs (CheckArray): Avoid using reflection unless we
  179. really need to.
  180. 2006-06-29 Duncan Mak <[email protected]>
  181. * WaitHandle.cs (CheckArray): Throw NotSupportedException if the
  182. current thread is marked with the STAThreadAttribute. Fixes bug
  183. #78455.
  184. 2006-05-05 Sebastien Pouliot <[email protected]>
  185. * ExecutionContext.cs: Don't capture the compressed stack unless the
  186. security manager is active (this wasn't ready to be called in
  187. production code).
  188. 2004-04-29 Atsushi Enomoto <[email protected]>
  189. * Timer.cs : avoid NullReferenceException when it is already disposed.
  190. Patch by [email protected]. Fixed bug #78208.
  191. 2004-04-28 Atsushi Enomoto <[email protected]>
  192. * SynchronizationContext.cs : use ThreadPool in Post(), as suggested
  193. by cl (bug #78139).
  194. 2004-04-04 Atsushi Enomoto <[email protected]>
  195. * Thread.cs : base class is CriticalFinalizerObject.
  196. * ThreadStartException.cs : no public constructors.
  197. Wed Mar 29 18:29:55 CEST 2006 Paolo Molaro <[email protected]>
  198. * Thread.cs: update for the runtime changes to culture caching.
  199. Wed Mar 15 16:35:49 CET 2006 Paolo Molaro <[email protected]>
  200. * Thread.cs: updates for LocalDataStoreSlot: we use an array as
  201. storage for the slots now so that LocalDataStoreSlot objects an be
  202. garbage collected if the user doesn't keep a reference to them.
  203. 2006-02-09 Miguel de Icaza <[email protected]>
  204. * Monitor.cs: Patch from Thong Nguyen, Wait (.., Timeout) method
  205. should allow a -1 (Timeout.Infinite) to mean indefinite wait (the
  206. code already supported this.
  207. Removed also a LAMESPEC for missing argument checking in Wait with
  208. the int argument.
  209. Fixed the use of exceptions.
  210. 2005-12-23 Dick Porter <[email protected]>
  211. * EventWaitHandle.cs:
  212. * Mutex.cs: Implement OpenExisting
  213. * NativeEventCalls.cs: Add OpenEvent icall for OpenExisting in
  214. 2.0. Add a "created" boolean out parameter to CreateEvent icall.
  215. * ManualResetEvent.cs:
  216. * AutoResetEvent.cs: Update CreateEvent icall signature (now has
  217. "created" boolean out parameter.)
  218. 2005-12-17 Dick Porter <[email protected]>
  219. * ThreadStartException.cs:
  220. * EventWaitHandle.cs:
  221. * EventResetMode.cs:
  222. * AbandonedMutexException.cs: New for 2.0 profile
  223. * ThreadState.cs:
  224. * Interlocked.cs:
  225. * RegisteredWaitHandle.cs:
  226. * Monitor.cs:
  227. * ThreadPriority.cs:
  228. * Mutex.cs:
  229. * ManualResetEvent.cs:
  230. * AutoResetEvent.cs: Updated for 2.0 profile
  231. 2005-11-23 Zoltan Varga <[email protected]>
  232. * Interlocked.cs: Add T:class constraint to the generic
  233. CompareExchange and Exchange methods.
  234. 2005-11-17 Zoltan Varga <[email protected]>
  235. * Interlocked.cs: Add generic CompareExchange and Exchange methods.
  236. 2005-11-17 Sebastien Pouliot <[email protected]>
  237. * WaitHandleCannotBeOpenedException.cs: New (2.0). Is required to
  238. compile the Semaphore tests (in System.dll).
  239. 2005-10-23 Marek Safar <[email protected]>
  240. * SynchronizationContext.cs: A few simple fixes.
  241. 2005-10-06 Sebastien Pouliot <[email protected]>
  242. * Thread.cs: Copy an existing IPrincipal to new threads. Fix bug
  243. #76332.
  244. 2005-10-06 Sebastien Pouliot <[email protected]>
  245. * Thread.cs: Added new attributes, [ReliabilityContract] for
  246. destructor and [Obsolete] for [Get|Set]CompressedStack, that were
  247. added in 2.0 RC.
  248. 2005-09-11 Zoltan Varga <[email protected]>
  249. * Thread.cs (MemoryBarrier): Make this an icall.
  250. 2005-09-10 Zoltan Varga <[email protected]>
  251. * Thread.cs (Interrupt): Make this throw a NotImplementedException.
  252. 2005-09-09 Martin Baulig <[email protected]>
  253. * Timer.cs (Timer.Runner.Start): Silently catch
  254. ObjectDisposedException and return; works around some race
  255. condition on thread abort.
  256. 2005-08-19 Dick Porter <[email protected]>
  257. * Thread.cs: Reserve 64 bits for the thread ID.
  258. 2005-07-19 Martin Baulig <[email protected]>
  259. * Timer.cs (Timer.Runner.Start): Fix a race condition which was
  260. causing a hang on exit int he debugger: check `!disposed' before
  261. `start_event.WaitOne ()' and again after it.
  262. 2005-06-07 Gonzalo Paniagua Javier <[email protected]>
  263. * Thread.cs: check that the culture is valid for formatting
  264. (ie, (!neutral || invariant)).
  265. 2005-06-07 Sebastien Pouliot <[email protected]>
  266. * Thread.cs: Added _Thread interface (and members) and a few missing
  267. attributes (for both 1.1 and 2.0).
  268. 2005-06-06 Zoltan Varga <[email protected]>
  269. * Thread.cs Mutex.cs Monitor.cs: Add some missing 2.0 attributes.
  270. 2005-05-29 Sebastien Pouliot <[email protected]>
  271. * Timer.cs: Added new constructor for 2.0 and ComVisible attribute.
  272. * Timeout.cs: This is a static class in 2.0 and ComVisible attribute.
  273. 2005-05-26 Ben Maurer <[email protected]>
  274. * Thread.cs: Use a static object for a lock rather than
  275. typeof(Thread).
  276. 2005-05-26 Sebastien Pouliot <[email protected]>
  277. * SynchronizationContext.cs: Re-introduced SendOrPost method as it's
  278. being used in System.Web.Services.
  279. 2005-05-26 Sebastien Pouliot <[email protected]>
  280. * SynchronizationContext.cs: Updated to beta2 API so it doesn't depend
  281. on the switcher structure anymore (which will be removed from the
  282. build).
  283. 2005-05-24 Sebastien Pouliot <[email protected]>
  284. * Thread.cs: Removed #pragma which aren't supported by CSC 7.x.
  285. 2005-05-20 Sebastien Pouliot <[email protected]>
  286. * AsyncFlowControl.cs: Now available, as internal, in NET_1_1. This is
  287. required to get some methods from SecurityContext and ExecutionContext
  288. working.
  289. * CompressedStack.cs: Now includes the current CompressedStack in a new
  290. Capture.
  291. * ExecutionContext.cs: Includes more methods in NET_1_1 to enable
  292. ThreadPool.UnsafeQueueUserWorkItem to work properly (i.e. without
  293. stack propagation).
  294. * Thread.cs: Made ExecutionContext field accessible from the runtime.
  295. Added stack propagation when Thread.Start is called.
  296. * ThreadPool.cs: QueueUserWorkItem now does stack propagation (done in
  297. the runtime), so I "fixed" UnsafeQueueUserWorkItem not to do so.
  298. 2005-05-19 Miguel de Icaza <[email protected]>
  299. * Thread.cs: REmove warnings.
  300. 2005-05-16 Gonzalo Paniagua Javier <[email protected]>
  301. * Thread.cs: first check for null, then set in_currentculture.
  302. 2005-05-12 Lluis Sanchez Gual <[email protected]>
  303. * Thread.cs: Moved all checks done inside sync_lock to unmanaged code.
  304. Merged Thread_internal and Start_internal into a single icall, which
  305. does all work.
  306. 2005-05-11 Sebastien Pouliot <[email protected]>
  307. * CompressedStack.cs: Allow merging of an existing CompressedStack
  308. with the actual stack of the current Thread.
  309. * Thread.cs: GetCompressedStack and SetCompressedStack are public
  310. before 2.0 but couldn't be seen with mono-api-info because of it's
  311. LinkDemand for the ECMA public key. Removed unused CompressedStack
  312. private field (now part of the ExecutionContext).
  313. 2005-05-09 Sebastien Pouliot <[email protected]>
  314. * CompressedStack.cs: GetCompressedStack is public before 2.0 but
  315. couldn't be seen with mono-api-info because of it's LinkDemand for
  316. the ECMA public key. Stack capture occurs here if none exists on the
  317. current thread.
  318. 2005-04-28 Gonzalo Paniagua Javier <[email protected]>
  319. * ReaderWriterLock.cs: fix random ApplicationException errors. Tested
  320. with the System.Web.Cache stress program. Patch by Eyal Alayuf
  321. (Mainsoft). Fixes 74598.
  322. 2005-04-28 Sebastien Pouliot <[email protected]>
  323. * Thread.cs: Added property to get the ExecutionContext in 2.0. Fixed
  324. GetCompressedStack and made SetCompressedStack available (as internal)
  325. before NET_2_0.
  326. 2005-04-28 Sebastien Pouliot <[email protected]>
  327. * AsyncFlowControl.cs: Updated wrt beta2.
  328. * ExecutionContext.cs: Updated wrt beta2. Class is now internal in
  329. NET_1_1 to allow the compressed stack propagation to other threads.
  330. * CompressedStack.cs: Updated wrt beta2. Class is internal in NET_1_1
  331. to allow the compressed stack propagation to other threads.
  332. * ContextCallback.cs: Updated wrt beta2.
  333. * HostExecutionContext.cs: Updated wrt beta2.
  334. * HostExecutionContextManager.cs: Updated wrt beta2.
  335. * Thread.cs: Added internal property to get the ExecutionContext.
  336. 2005-04-19 Zoltan Varga <[email protected]>
  337. * Thread.cs: Add some unused fields.
  338. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  339. * ThreadPool.cs: BindHandle does nothing now.
  340. 2005-04-07 Gonzalo Paniagua Javier <[email protected]>
  341. * Thread.cs: clear the Unstarted bit before calling Start_internal.
  342. Fixes bug #72738.
  343. 2005-04-04 Ben Maurer <[email protected]>
  344. * Thread.cs: Do argument checking for Current[UI]Culture to make
  345. the exception more clear for a null value being set.
  346. 2005-03-24 Sebastien Pouliot <[email protected]>
  347. * CompressedStack.cs: Added LinkDemand for UnmanagedCode and ECMA
  348. public key on GetCompressedStack method.
  349. * Mutex: Added LinkDemand for UnmanagedCode to create named (system
  350. wide) mutexes.
  351. * Thread.cs: Added LinkDemand for ECMA public key on [Get|Set]
  352. CompressedStack methods.
  353. * WaitHandle.cs: Added LinkDemand and InheritanceDemand for
  354. UnmanagedCode on set Handle property.
  355. 2005-03-10 Zoltan Varga <[email protected]>
  356. * Thread.cs: Make slothash a ThreadStatic field. Fixes #65414.
  357. 2005-02-21 Zoltan Varga <[email protected]>
  358. * Monitor.cs Interlocked.cs: Add net 2.0 ReliabilityContractAttributes.
  359. 2005-02-20 Zoltan Varga <[email protected]>
  360. * Interlocked.cs: Applied patch from Luca Barbieri ([email protected]). Add NET 2.0 methods.
  361. Tue Feb 15 18:19:11 CET 2005 Paolo Molaro <[email protected]>
  362. * Thread.cs: make the slothash a field in MonoThread.
  363. 2005-01-27 Sebastien Pouliot <[email protected]>
  364. * Overlapped.cs: Added check for ControlPolicy and ControlEvidence for
  365. Unsafe pack. Added MonoTODO for missing security stack propagation.
  366. * Thread.cs: Add security checks for ControlThread.
  367. * ThreadPool.cs: Added declarative security checks.
  368. Thu Jan 13 18:15:32 CET 2005 Paolo Molaro <[email protected]>
  369. * Thread.cs: implement stacksize and parameterized
  370. start functionality (requires matching runtime).
  371. 2005-01-12 Gonzalo Paniagua Javier <[email protected]>
  372. * ThreadAbortException.cs: added private serialization .ctor.
  373. 2004-12-20 Sebastien Pouliot <[email protected]>
  374. * CompressedStack.cs: Implemented most todo so it's usable for CAS.
  375. * CompressedStackSwitcher.cs: Implemented most todo.
  376. * Thread.cs: Implement support for getting/setting CompressedStack.
  377. 2004-12-15 Zoltan Varga <[email protected]>
  378. * Thread.cs: Change type of culture_info and ui_culture_info to
  379. IntPtr. Implement correct culture handling for the UI culture as
  380. well.
  381. 2004-12-14 Zoltan Varga <[email protected]>
  382. * Thread.cs: Optimize CurrentCulture to avoid initializing the
  383. serialization infrastructure in the common case when the culture is
  384. not set explicitly.
  385. 2004-12-06 Zoltan Varga <[email protected]>
  386. * Thread.cs: Add new fields 'serialized_culture_info{_len}'.
  387. * Thread.cs (CurrentCulture): Fix leaking of culture info objects
  388. across appdomains. Partially fixes #50049.
  389. 2004-12-05 Miguel de Icaza <[email protected]>
  390. * AutoResetEvent.cs (Set, Reset): If we are disposed, throw a
  391. ObjectDisposedEvent, helped track the WebConnection destructor
  392. issue.
  393. 2004-09-16 Gonzalo Paniagua Javier <[email protected]>
  394. * Timer.cs: don't invoke the callback twice when the timer changes.
  395. Fixes bug #66116.
  396. 2004-09-08 Marek Safar <[email protected]>
  397. * Interlocked.cs: Class is static in NET_2_0.
  398. 2004-09-04 Sebastien Pouliot <[email protected]>
  399. * Thread.cs: Changed an imperative security demand to declarative
  400. (unsupported) so it doesn't (for now) call the security runtime.
  401. 2004-08-20 Sebastien Pouliot <[email protected]>
  402. * Thread.cs: Added Fx 2.0 properties/methods/attributes.
  403. 2004-08-12 Sebastien Pouliot <[email protected]>
  404. * CompressedStackSwitcher.cs: Added missing [ComVisible] and
  405. [ReliabilityContract] attributes.
  406. * ExecutionContext.cs: Added missing [ComVisible] and
  407. [Serializable] attributes.
  408. * HostExecutionContext.cs: Added missing [ComVisible] attribute.
  409. * HostExecutionContextManager.cs: Added missing [ComVisible] and
  410. [ReliabilityContract] attributes.
  411. * HostExecutionContextSwitcher.cs: Added missing Equals and
  412. GetHashCode methods and [ComVisible] and [ReliabilityContract] attrs.
  413. * ParameterizedThreadStart.cs: New delegate in NET_2_0.
  414. * SendOrPostCallback.cs: Added missing [ComVisible] attribute.
  415. * SynchronizationContext.cs: Added new (2.0 beta1) methods Copy and
  416. WaitHelper. Added missing [ComVisible] and [ReliabilityContract] attrs.
  417. * SynchronizationContextSwitcher.cs: Added missing [ComVisible] and
  418. [ReliabilityContract] attributes.
  419. 2004-08-08 Sebastien Pouliot <[email protected]>
  420. * HostExecutionContext.cs: Fx 2.0 stub required for AppDomain.
  421. * HostExecutionContextManager.cs: Fx 2.0 stub required for AppDomain.
  422. * HostExecutionContextSwitcher.cs: Fx 2.0 stub required for AppDomain.
  423. 2004-08-04 Gonzalo Paniagua Javier <[email protected]>
  424. * Timer.cs: don't invoke the callback if the period changes before the
  425. due time. Fixes bug #62421.
  426. 2004-07-27 Lluis Sanchez Gual <[email protected]>
  427. * ExecutionContext.cs, ExecutionContextSwitcher.cs,
  428. SynchronizationContext.cs, SynchronizationContextSwitcher.cs: Added
  429. 2.0 stubs.
  430. 2004-07-15 Dick Porter <[email protected]>
  431. * Thread.cs: Hold a lock in GetNamedDataSlot. Fixes bug 61582,
  432. based on patch by Sbastien Robitaille
  433. ([email protected]). Also fix instances of
  434. lock(typeof(Thread)) to lock a private object instead.
  435. 2004-07-14 Sebastien Pouliot <[email protected]>
  436. * AsyncFlowControl.cs: New structure in Fx 2.0 required in
  437. System.Security namespace.
  438. * CompressedStackSwitcher.cs: New structure in Fx 2.0 required in
  439. System.Security namespace.
  440. * ContextCallback.cs: New delegate in Fx 2.0 required in
  441. System.Security namespace.
  442. * CompressedStack.cs: Updated API for NET_2_0 profile.
  443. 2004-07-10 Lluis Sanchez Gual <[email protected]>
  444. * SendOrPostCallback.cs: New delegate.
  445. 2004-06-24 Dick Porter <[email protected]>
  446. * Mutex.cs: Implement the createdNew parameter
  447. 2004-06-15 Gert Driesen <[email protected]>
  448. * Thread.cs: changed return type of VolatileRead to UIntPtr
  449. * ThreadPool.cs: set return type of SetMinThreads to bool
  450. 2004-06-15 Lluis Sanchez Gual <[email protected]>
  451. * Thread.cs: Added new fields to keep sync with MonoThread.
  452. Removed state changes in Sleep and Join. The state change is now done
  453. in the icall. For accessing to internal fields lock with synch_lock
  454. instead of this, which can be a source of deadlocks.
  455. 2004-06-15 Lluis Sanchez Gual <[email protected]>
  456. * Timer.cs: Don't abort the thread if Dispose() is called from the runner
  457. thread.
  458. 2004-06-11 Gonzalo Paniagua Javier <[email protected]>
  459. * Thread.cs:
  460. (CurrentPrincipal): lock on CurrentThread, not typeof (Thread) and set
  461. the thread IPrincipal if we get it from the AppDomain.
  462. 2004-06-09 Gert Driesen <[email protected]>
  463. * CompressedStack.cs: Added finalizer to match public API of
  464. MS.NET
  465. 2004-05-19 Lluis Sanchez Gual <[email protected]>
  466. * Thread.cs: Some fixes in Abort. Implemented Suspend and Resume.
  467. Added internal interruption_requested field.
  468. 2004-05-13 Sebastien Pouliot <[email protected]>
  469. * CompressedStack.cs: Added an internal constructor so a default one
  470. doesn't appear with corcompare.
  471. * Thread.cs: Added missing MemoryBarrier (only for 1.1) and SpinWait to please
  472. corcompare. Both throw a NotImplementedException.
  473. * ThreadPool.cs: Added missing UnsafeRegisterWaitForSingleObject methods (4
  474. overloads) to please corcompare. All throw a NotImplementedException.
  475. 2004-05-12 Zoltan Varga <[email protected]>
  476. * CompressedStack.cs: New file.
  477. 2004-04-15 Lluis Sanchez Gual <[email protected]>
  478. * ThreadPool.cs: Added GetMinThreads and SetMinThreads.
  479. * Timer.cs: In Change, return false if the timer has been disposed.
  480. In Dispose, notify the WaitHandle.
  481. 2004-04-11 Lluis Sanchez Gual <[email protected]>
  482. * ReaderWriterLock.cs: More fixes: never wait where acquiring a reader lock
  483. if the thread already has the lock. Added readyWaitingReaders variable to
  484. keep track of threads ready to get the reader lock.
  485. 2004-04-11 Lluis Sanchez Gual <[email protected]>
  486. * LockQueue.cs: Moved lockCount change inside the rwlock lock. Removed
  487. lock(this) when entering the rwlock to avoid a deadlock.
  488. * ReaderWriterLock.cs: In AcquireWriterLock, queue the thread if the queue
  489. is not empty (even if state==0).
  490. 2004-04-09 Zoltan Varga <[email protected]>
  491. * Timer.cs: Call the callback immediately if dueTime is 0. Fixes
  492. #56728.
  493. 2004-04-08 Jackson Harper <[email protected]>
  494. * ReaderWriterLock.cs: Fix tyop
  495. 2004-04-08 Lluis Sanchez Gual <[email protected]>
  496. * ReaderWriterLock.cs: Changed some methods to private.
  497. * WaitHandle.cs: In Wait methods, release the synchronization context when
  498. exitContext is true.
  499. 2004-04-08 Gonzalo Paniagua Javier <[email protected]>
  500. * Timer.cs: call Abort on the Runner instance too.
  501. 2004-04-07 Jackson Harper <[email protected]>
  502. * Thread.cs: Use new culture info method for constructing the
  503. current culture.
  504. 2004-04-07 Lluis Sanchez Gual <[email protected]>
  505. * ReaderWriterLock.cs: When a thread holds a writer lock, a call to
  506. AcquireReaderLock works like a call to AcquireWriterLock.
  507. 2004-04-06 Lluis Sanchez Gual <[email protected]>
  508. * Monitor.cs: In Wait(), release the synchronization context when
  509. exitContext is true.
  510. 2004-04-06 Lluis Sanchez Gual <[email protected]>
  511. * LockCookie.cs: Keep in this class the count of reader or writer locks
  512. for a thread, not only whether it has locks or not.
  513. * LockQueue.cs: Added property for checking if a thread is waiting in
  514. the queue. Wait now returns a boolean that set to false on timeout
  515. expiration.
  516. * ReaderWriterLock.cs: Started fixing bugs but I had to rewrite a lot of it.
  517. The main change is that now it keeps a reader lock count for each
  518. thread. This is needed since methods like ReleaseLock or
  519. UpgradeToWriterLock need to return a per-thread status in LockCookie.
  520. Also added support for recursive writer-lock requests.
  521. 2004-03-21 Gonzalo Paniagua Javier <[email protected]>
  522. * ThreadAbortException.cs: use same HResult as MS.
  523. * Timer.cs: abort the running thread when disposing the Timer. This
  524. fixes NullRefs when finishing xsp.
  525. 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
  526. * NativeOverlapped.cs: added 2 new internal fields.
  527. * Overlapped.cs: implemented, but it's not used.
  528. * ThreadPool.cs: implemented BindHandle.
  529. 2004-03-08 Zoltan Varga <[email protected]>
  530. * Timer.cs (Dispose): Applied patch from Jaroslaw Kowalski
  531. ([email protected]). Fix finalization problems during appdomain unload.
  532. 2004-02-23 Jackson Harper <[email protected]>
  533. * LockCookie.cs: Add some fields for restoring locks.
  534. * ReaderWriterLock.cs: Implement
  535. * LockQueue.cs: New File - used for queueing thread locks in
  536. ReaderWriterLock.
  537. 2004-02-19 Jackson Harper <[email protected]>
  538. * Monitor.cs: Fix spelleng.
  539. 2004-02-09 Zoltan Varga <[email protected]>
  540. * Thread.cs: Add fields added to unmanaged MonoThread here as well.
  541. Fixes random errors caused by memory corruption.
  542. 2004-02-06 Zoltan Varga <[email protected]>
  543. * Thread.cs: Store the thread name in unmanaged memory, since the
  544. thread object is shared between appdomains.
  545. 2004-02-05 Sebastien Pouliot <[email protected]>
  546. * Thread.cs: Implemented CurrentPrincipal.
  547. 2004-01-22 Gonzalo Paniagua Javier <[email protected]>
  548. * Thread.cs: delayed thread creation until Start is called. If we
  549. don't do that and Start() is not called, the thread is leaked. First
  550. step towards fixing bug #53078.
  551. 2003-12-02 Dick Porter <[email protected]>
  552. * Thread.cs: Throw InvalidOperationException if Thread.Name is
  553. already set.
  554. 2003-12-01 Dick Porter <[email protected]>
  555. * Thread.cs: Implement CurrentCulture and CurrentUICulture
  556. 2003-11-12 Miguel de Icaza <[email protected]>
  557. * Thread.cs: Add new VolatileRead/VolatileWrite methods from 1.1
  558. 2003-10-23 Lluis Sanchez Gual <[email protected]>
  559. * Thread.cs: Added ResetDataStoreStatus and RestoreDataStoreStatus
  560. methods. They are used in CrossAppDomainChannel to save and restore
  561. thread's local data when switching between domains.
  562. 2003-10-08 Gonzalo Paniagua Javier <[email protected]>
  563. * ManualResetEvent.cs: added check for disposed.
  564. * Thread.cs: no need to init this field.
  565. 2003-10-01 Zoltan Varga <[email protected]>
  566. * Thread.cs: Add locking to AllocateNamedDataSlot and
  567. FreeNamedDataSlot.
  568. Wed Aug 20 12:01:36 CEST 2003 Paolo Molaro <[email protected]>
  569. * Thread.cs: put all the fields at the start and add
  570. more fields needed by the runtime.
  571. 2003-08-14 Lluis Sanchez Gual <[email protected]>
  572. * Thread.cs: SetData() method: use Hashtable.Contains to check
  573. if a dataslot has been allocated (value could be null).
  574. 2003-07-23 Duncan Mak <[email protected]>
  575. * WaitHandle.cs (CheckDisposed): This method is not in the public
  576. API, mark it as 'internal'.
  577. 2003-07-01 Dick Porter <[email protected]>
  578. * Thread.cs: Throw an exception if thread creation failed.
  579. (Better than just blowing up later.)
  580. 2003-06-27 Dietmar Maurer <[email protected]>
  581. * ThreadPool.cs: use async delegate invoke.
  582. 2003-06-25 Dick Porter <[email protected]>
  583. * WaitHandle.cs: Default handle value should be InvalidHandle, not
  584. Zero.
  585. 2003-06-21 Gonzalo Paniagua Javier <[email protected]>
  586. * ThreadPool.cs: correctly create a TimeSpan with provided the number of
  587. milliseconds.
  588. * WaitHandle.cs: fixes for WaitAny/All and TimeSpan.
  589. 2003-06-06 Gonzalo Paniagua Javier <[email protected]>
  590. * WaitHandle.cs: checks and exceptions.
  591. 2003-06-02 Gonzalo Paniagua Javier <[email protected]>
  592. * NativeEventCalls.cs: added CloseEvent_intenal.
  593. * WaitHandle.cs: call CloseEvent_internal when disposing.
  594. 2003-05-31 Gonzalo Paniagua Javier <[email protected]>
  595. * RegisteredWaitHandle.cs: check that the callback is not null before
  596. invoking.
  597. * ThreadPool.cs: fixed timeout -> TimeSpan conversions (closes bug
  598. #43963). Queue the item before setting the handle. If there's a timeout,
  599. avoid trying to Dequeue, getting the exception et al, just continue the
  600. loop.
  601. Mon May 19 09:07:45 CEST 2003 Paolo Molaro <[email protected]>
  602. * Monitor.cs: removed test_owner, the check is already done in the
  603. icall.
  604. Tue May 13 15:34:29 CEST 2003 Paolo Molaro <[email protected]>
  605. * Thread.cs: added missing field used by the runtime and
  606. a new field to support thread-static data.
  607. 2003-04-17 Pedro Mart?ez Juli? <[email protected]>
  608. * Timer.cs: Change the position of two lines because they were
  609. before the "if" that ensures the integrity. After this, the first of
  610. that two lines was producing a NullReferenceException.
  611. 2003-04-09 Dick Porter <[email protected]>
  612. * Thread.cs: Make sure a reference to the ThreadStart delegate is
  613. held. There's no telling how long it will be before
  614. Thread.Start() is called, and GC might destroy the delegate.
  615. Thread() and Start() need to be rewritten so that the runtime
  616. creates the new thread when Start() is called, which will simplify
  617. the code a great deal.
  618. 2003-03-20 Miguel de Icaza <[email protected]>
  619. * Thread.cs (CurrentCuluture): use the invaraint culture instead
  620. of "" for the current_culture setting.
  621. 2003-03-25 Zoltan Varga <[email protected]>
  622. * Thread.cs: Fix visibility of ResetAbort().
  623. 2003-03-18 Dick Porter <[email protected]>
  624. * Thread.cs: Keep the thread state updated in all the places that
  625. require it. (Suspend, Resume and Interrupt not handled yet)
  626. 2003-03-03 Lluis Sanchez Gual <[email protected]>
  627. * Thread.cs: Changed implementation of CurrentContext, adapted to the changes
  628. in the runtime.
  629. 2003-02-19 Gonzalo Paniagua Javier <[email protected]>
  630. * Thread.cs: implemented CurrentContext.
  631. 2003-02-17 Gonzalo Paniagua Javier <[email protected]>
  632. * Thread.cs: made the thread_id for the current thread accesible through
  633. an internal property.
  634. 2003-02-17 Dick Porter <[email protected]>
  635. * Thread.cs: Added the Start semaphore field to the class. Update
  636. the thread state after Start() has returned, not before.
  637. 2003-02-13 Zoltan Varga <[email protected]>
  638. * Thread.cs (Sleep): Timeout.Infinite is a value argument.
  639. 2003-02-11 Dick Porter <[email protected]>
  640. * Monitor.cs: Infinite wait is Infinite, not 0 ms
  641. 2003-02-10 Gonzalo Paniagua Javier <[email protected]>
  642. * Thread.cs: fixed bug #37759.
  643. 2003-02-07 Patrik Torstensson
  644. * Timer.cs: Set the Background thread flag for the timer thread
  645. 2003-02-05 Patrik Torstensson
  646. * ThreadPool.cs: Reformated and fixed issue that made all thread exit the pool.
  647. 2003-02-04 Lluis Sanchez Gual <[email protected]>
  648. * ThreadPool.cs: Implemented RegisterWaitForSingleObject methods.
  649. Tue Jan 28 17:55:59 CET 2003 Paolo Molaro <[email protected]>
  650. * Thread.cs: delay-init datastorehash.
  651. 2003-01-10 Patrik Torstensson <[email protected]>
  652. * ThreadPool.cs: Temporary removed the usage of monitor thread, implemented a
  653. model more equal to the MS one.
  654. 2002-12-10 Dick Porter <[email protected]>
  655. * Monitor.cs:
  656. * Thread.cs:
  657. * ThreadPool.cs:
  658. * Timer.cs:
  659. * WaitHandle.cs: Use TotalMilliseconds to convert a TimeSpan to
  660. ms, not Milliseconds.
  661. 2002-12-07 Martin Baulig <[email protected]>
  662. * Timer.cs: Make it actually work; now it no longer sets your
  663. application on fire if you use a zero periode and Timer.Change()
  664. actually works.
  665. 2002-11-11 Gonzalo Paniagua Javier <[email protected]>
  666. * Timer.cs: implemented more stuff. It works now.
  667. 2002-10-25 Zoltan Varga <[email protected]>
  668. * Thread.cs: Implement GetDomain() and GetDomainID().
  669. 2002-10-24 Gonzalo Paniagua Javier <[email protected]>
  670. * ThreadPool.cs: now the monitor thread is not sleeping and checking if
  671. more worker threads needed. It waits on _DataInQueue. If (and only if)
  672. there's data in the queue it checks if more worker threads needed and
  673. then sleeps 0.5s before waiting for queued data again.
  674. 2002-09-28 Gonzalo Paniagua Javier <[email protected]>
  675. * ThreadPool.cs: set IsThreadPoolThread before starting the worker.
  676. 2002-09-11 Dick Porter <[email protected]>
  677. * Mutex.cs:
  678. * ManualResetEvent.cs:
  679. * AutoResetEvent.cs: Use the WaitHandle.Handle property instead of
  680. the private field
  681. * WaitHandle.cs: Hide the os_handle field and the WaitOne_internal
  682. method
  683. 2002-09-03 Dick Porter <[email protected]>
  684. * Thread.cs: Added thread ID field
  685. 2002-08-27 Gonzalo Paniagua Javier <[email protected]>
  686. * WaitHandle.cs: IDisposable fixes.
  687. 2002-08-14 Dick Porter <[email protected]>
  688. * Thread.cs: Make CurrentUICulture act the same as CurrentCulture
  689. for now.
  690. 2002-08-12 Dietmar Maurer <[email protected]>
  691. * ThreadAbortException.cs: impl. ExceptionState property.
  692. * Thread.cs: moved all instance variables to the start of the
  693. class. added support for Thread::Abort()
  694. 2002-04-30 Dick Porter <[email protected]>
  695. * Thread.cs: If LocalDataStoreSlot already has data set, remove it
  696. before adding a new one.
  697. Use the Thread object destructor to tell the runtime to close the
  698. thread handle.
  699. 2002-04-14 Patrik Torstensson <[email protected]>
  700. * Interlocked.cs: made all methods icalls.
  701. 2002-04-14 Gonzalo Paniagua Javier <[email protected]>
  702. * IOCompletionCallback.cs: added attributes to the delegate
  703. (CLSCompliant(false) and Serializable).
  704. 2002-04-14 Patrik Torstensson <[email protected]>
  705. * Thread.cs: Fixed IsThreadPoolThread to use a internal property instead of extending
  706. the threadstate enum.
  707. * ThreadPool.cs: Now using the internal Isthreadpoolthread property
  708. * ThreadState.cs: removed non-standard enum (ThreadPoolThread)
  709. 2002-04-14 Patrik Torstensson <[email protected]>
  710. * ThreadState.cs: Added enum for threadpool thread
  711. * Thread.cs: changed the set/clr_state to be internal (used from threadpool)
  712. * Thread.cs: Added IsThreadPoolThread
  713. * ThreadPool.cs: Implementation of QueueUserWorkItem
  714. Wed Feb 13 21:51:30 CET 2002 Paolo Molaro <[email protected]>
  715. * Thread.cs: implement CurrentCulture property needed by
  716. Convert.ChangeType() (used when compiling enums).
  717. 2002-01-23 Dick Porter <[email protected]>
  718. * ManualResetEvent.cs:
  719. * AutoResetEvent.cs: Fixed DOS line endings
  720. 2002-01-22 Veronica De Santis <[email protected]>
  721. * NativeEventCalls : Class that contains internal calls shared by Auto
  722. and Manual Reset Events
  723. * AutoResetEvents.cs : Added class AutoResetEvents and its implementation
  724. * ManualResetEvents.cs : Added class ManualResetEvents and its implementation
  725. 2002-01-16 Veronica De Santis <[email protected]>
  726. * WaitHandle.cs : Renamed handle to os_handle and make it protected
  727. instead of private.
  728. * Mutex.cs : Write the System.Threading.Mutex methods ( constructors
  729. and the ReleaseMutex)
  730. 2002-01-15 Dick Porter <[email protected]>
  731. * WaitHandle.cs:
  732. * Thread.cs: Make the runtime's idea of infinite timeouts coincide
  733. with the class library's
  734. 2002-01-10 Dick Porter <[email protected]>
  735. * WaitHandle.cs: Added checks for too many handles and null
  736. handles in WaitAll() and WaitAny
  737. 2002-01-05 Ravi Pratap <[email protected]>
  738. * AutoResetEvent.cs, ManualResetEvent.cs, Monitor.cs : MonoTODO
  739. decoration.
  740. * Mutex.cs, Overlapped.cs, ReaderWriterLock.cs, RegisteredWaitHandle.cs,
  741. Thread.cs, ThreadAbortException.cs, ThreadPool.cs, Timer.cs, WaitHandler.cs : Ditto.
  742. 2001-12-11 Dick Porter <[email protected]>
  743. * WaitHandle.cs: Implemented WaitAll(), WaitAny() and WaitOne() as
  744. internal calls.
  745. 2001-11-26 Dick Porter <[email protected]>
  746. * Thread.cs: DataSlot uses a single system TLS slot, and a
  747. hashtable per thread. Some minor changes to reflect the new
  748. internal calls using the new IO library, and the newly-supported
  749. bool returns from internal calls.
  750. * Monitor.cs: Use bool returns from internal calls now they are
  751. supported by the runtime. Coalesce enter with the try_enter
  752. internal call.
  753. Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <[email protected]>
  754. * Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.
  755. 2001-10-03 Dick Porter <[email protected]>
  756. * Monitor.cs: Implemented all methods except the two Wait()
  757. methods that take boolean parameters
  758. 2001-09-28 Dick Porter <[email protected]>
  759. * Thread.cs: Implemented AllocateDataSlot(),
  760. AllocateNamedDataSlot(), FreeNamedDataSlot(), GetData(),
  761. GetNamedDataSlot(), SetData(), IsBackground. Reworked Thread()
  762. and Start() to avoid a race condition. Added thread-safe state
  763. changing private operations.
  764. * Monitor.cs: Comment out the GetType() calls because it isn't implemented yet
  765. 2001-09-25 Dick Porter <[email protected]>
  766. * Thread.cs: Implement Join and timed Join, set correct state
  767. around Start, Join and Sleep calls, implement IsAlive and
  768. ThreadState properties.
  769. * ThreadState.cs (Threading): Added StopRequested,
  770. SuspendRequested, Suspended values
  771. 2001-09-23 Dick Porter <[email protected]>
  772. * Thread.cs: Implemented CurrentThread and Sleep (both versions)
  773. with internal calls, and Name.
  774. 2001-09-21 Dick Porter <[email protected]>
  775. * Thread.cs: Implement Thread(ThreadStart) constructor and Start()
  776. with an internal call
  777. * WaitHandle.cs: Close calls Dispose(false)
  778. 2001-09-13 Dick Porter <[email protected]>
  779. * ApartmentState.cs (Threading): Set the correct enum values
  780. 2001-09-13 Dick Porter <[email protected]>
  781. * ApartmentState.cs, AutoResetEvent.cs, IOCompletionCallback.cs,
  782. Interlocked.cs, LockCookie.cs, ManualResetEvent.cs, Monitor.cs,
  783. Mutex.cs, NativeOverlapped.cs, Overlapped.cs, ReaderWriterLock.cs,
  784. RegisteredWaitHandle.cs, SynchronizationLockException.cs,
  785. Thread.cs, ThreadAbortException.cs, ThreadInterruptedException.cs,
  786. ThreadPool.cs, ThreadStart.cs, ThreadStateException.cs,
  787. Timeout.cs, Timer.cs, TimerCallback.cs, WaitCallback.cs,
  788. WaitHandle.cs, WaitOrTimerCallback.cs: System.Threading class
  789. stubs.
  790. 2001-07-18 Michael Lambert <[email protected]>
  791. * ThreadPriority.cs, ThreadState.cs: Add.