ChangeLog 41 KB

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