ChangeLog 42 KB

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