Historial de Commits

Autor SHA1 Mensaje Fecha
  Jérémie Laval 87f072d29c Remove CurrentLockState in ReaderWriterLockSlim and reuse ThreadLockState instance more often. hace 15 años
  Jérémie Laval 5f71cbd7d6 Small condition fix in ReaderWriterLockSlim, avoid an extra loop pass. hace 15 años
  Jérémie Laval 63ebd7b9d6 ReaderWriterLockSlim performance improvements hace 15 años
  Jérémie Laval 0932636327 Add tiny bit of doc on ReaderWriterLockSlim. hace 15 años
  Jérémie Laval 8e3bbe1893 [ReaderWriterLockSlim] Fix state corruption and race in a special interleaving. hace 15 años
  Jérémie Laval e0d372e7bf Turn Is*LockHeld properties into thread-specific values in ReaderWriterLockSlim. Add corresponding unit tests. hace 15 años
  Jérémie Laval 4b844f8105 Add tidbits of documentation to ReaderWriterLockSlim. hace 15 años
  Jérémie Laval 65180d590b Also set readerDoneEvent when exiting an upgradeable lock and reader condition is correct. hace 15 años
  Jérémie Laval 5c52755ffd Allow recursive Write + n * Read lock pattern for ReaderWriterLockSlim and add corresponding unit test hace 15 años
  Jérémie Laval c70d5fff59 Generalize ThreadLockState to include recursive count informations and update them accordingly in the different Enter/Exit methods hace 15 años
  Jérémie Laval ac4bd81b23 Change the key of the inner dictionary to an int id instead of the instance itself hace 15 años
  Jérémie Laval 3f65781d83 Split ReaderWriterLockSlim helper classes into their own files hace 15 años
  Jérémie Laval cf6cb84548 Fix non 4.0 build of ReaderWriterLockSlim. hace 15 años
  Jérémie Laval f77f094d46 Enable basic recursion support in ReaderWriterLockSlim. Works when reacquiring lock of the same type. hace 15 años
  Jérémie Laval a13cb7d229 Use ManualResetEventSlim instances to wait for lock changes instead of hardcoded Thread.Sleep calls in ReaderWriterLockSlim. hace 15 años
  Jérémie Laval f706ec1dd4 Remove unused bit position constants in ReaderWriterLockSlim hace 15 años
  Jérémie Laval dbf53c74c4 Finish reimplementation of ReaderWriterLockSlim so that it pass unit tests. hace 15 años
  Jérémie Laval 8297cbde16 Refactor ThreadLockState acquisition into a real per-thread, per-rwlock-instance value hace 15 años
  Jérémie Laval 16e2f091f0 Rework ReaderWriterLockSlim to use simpler Interlocked arithmetic. hace 15 años
  Atsushi Eno 440ba3208d 2009-06-15 Atsushi Enomoto <[email protected]> hace 16 años
  Marek Safar 2101a3d1e7 2009-01-18 Marek Safar <[email protected]> hace 17 años
  Marek Safar f1f810e35b 2008-12-02 Marek Safar <[email protected]> hace 17 años
  Miguel de Icaza 6970bc3360 Add initial implementation of ReaderWriterLockSlim, it is missing support for recursive locks, and support for flagging errors hace 17 años