ChangeLog 42 KB

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