ChangeLog 43 KB

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