Commit History

Author SHA1 Message Date
  Marek Safar cbca01b433 Add dispose checks to ReaderWriterLockSlim and fix race in currentThreadState initialization 12 years ago
  Jérémie Laval e223f978be [System.Core] Fix possible state corruption in ReaderWriterLockSlim. Fix #6635. 13 years ago
  Marek Safar 8566a284a2 Update more 4.5 api 13 years ago
  Jeremie Laval 51f51a430f Add RwWrite flag to status check when already owning upgradeable lock. Fix #802. 14 years ago
  Jeremie Laval e2e28d46d4 Set success boolean in all cases and avoid state masking. Fix #124 14 years ago
  Jérémie Laval 52ccbf2963 Protect entering ReaderWriterLockSlim upgradable mode against async exceptions. 14 years ago
  Jérémie Laval ff80eb8f67 [ReaderWriterLockSlim] Fix for #656353. Add corresponding unit test. 15 years ago
  Jérémie Laval 4016c03e34 Fix ReaderWriterLockSlim Exit methods in SupportsRecursion mode and add corresponding unit tests 15 years ago
  Jérémie Laval d687cbbd43 Another fix related to the rebase 15 years ago
  Jérémie Laval d0623ba210 Fix compile error introduced by rebasing 15 years ago
  Jérémie Laval 50d7302246 Protect ExitUpgradeable part of ReaderWriterLockSlim against asynchronous exception. 15 years ago
  Jérémie Laval 01a09fd9fe Protect Enter/Exit write part of ReaderWriterLockSlim against asynchronous exception. 15 years ago
  Jérémie Laval ec9b7a2216 Protect Enter/Exit read part of ReaderWriterLockSlim against asynchronous exception. 15 years ago
  Jérémie Laval fe0be24bea Final performance improvement on ReaderWriterLockSlim 15 years ago
  Jérémie Laval 87f072d29c Remove CurrentLockState in ReaderWriterLockSlim and reuse ThreadLockState instance more often. 15 years ago
  Jérémie Laval 5f71cbd7d6 Small condition fix in ReaderWriterLockSlim, avoid an extra loop pass. 15 years ago
  Jérémie Laval 63ebd7b9d6 ReaderWriterLockSlim performance improvements 15 years ago
  Jérémie Laval 0932636327 Add tiny bit of doc on ReaderWriterLockSlim. 15 years ago
  Jérémie Laval 8e3bbe1893 [ReaderWriterLockSlim] Fix state corruption and race in a special interleaving. 15 years ago
  Jérémie Laval e0d372e7bf Turn Is*LockHeld properties into thread-specific values in ReaderWriterLockSlim. Add corresponding unit tests. 15 years ago
  Jérémie Laval 4b844f8105 Add tidbits of documentation to ReaderWriterLockSlim. 15 years ago
  Jérémie Laval 65180d590b Also set readerDoneEvent when exiting an upgradeable lock and reader condition is correct. 15 years ago
  Jérémie Laval 5c52755ffd Allow recursive Write + n * Read lock pattern for ReaderWriterLockSlim and add corresponding unit test 15 years ago
  Jérémie Laval c70d5fff59 Generalize ThreadLockState to include recursive count informations and update them accordingly in the different Enter/Exit methods 15 years ago
  Jérémie Laval ac4bd81b23 Change the key of the inner dictionary to an int id instead of the instance itself 15 years ago
  Jérémie Laval 3f65781d83 Split ReaderWriterLockSlim helper classes into their own files 15 years ago
  Jérémie Laval cf6cb84548 Fix non 4.0 build of ReaderWriterLockSlim. 15 years ago
  Jérémie Laval f77f094d46 Enable basic recursion support in ReaderWriterLockSlim. Works when reacquiring lock of the same type. 15 years ago
  Jérémie Laval a13cb7d229 Use ManualResetEventSlim instances to wait for lock changes instead of hardcoded Thread.Sleep calls in ReaderWriterLockSlim. 15 years ago
  Jérémie Laval f706ec1dd4 Remove unused bit position constants in ReaderWriterLockSlim 15 years ago