Commit Graph

6 Commits

Author SHA1 Message Date
John Hurliman
bb68819d3f Removing CircularHashedQueue since 1) the implementation was wrong, 2) it was highly specific to a single task in ACK management and not a generally useful collection
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2774 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 10:55:19 +00:00
John Hurliman
30e17756d0 * Adding try/finally blocks for every lock acquisition in DoubleDictionary to keep exceptions from putting the collection in an inconsistent state
* Removed [] get accessors until someone can demonstrate thread-safe code that uses them (they encourage non-threadsafe code patterns)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2773 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 09:28:03 +00:00
John Hurliman
2520b6d0ea * Adding a LocklessQueue collection to OpenMetaverseTypes
* Fixing minor compile warnings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2772 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 09:12:12 +00:00
John Hurliman
ef072802d4 Changed DoubleDictionary to use ReaderWriteLockSlim
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2771 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 02:00:11 +00:00
John Hurliman
8014afcc3e * Added ReaderWriterLockSlim.cs to OpenMetaverseTypes from the Mono SVN
* Prebuild will now define the VISUAL_STUDIO symbol in .csproj files while leaving NAnt files alone
* A conditional was added to use the .NET ReaderWriterLockSlim for VS compiles and the one in OpenMetaverseTypes for Mono compiles. This is a kludge until everyone is running Mono 2.6 or later (hah)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2769 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-16 01:34:41 +00:00
John Hurliman
ad102f3ea9 Moving OpenMetaverseTypes library to its own folder. This will save a lot of prebuild headaches
git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2744 52acb1d6-8a22-11de-b505-999d5b087335
2009-05-11 19:28:50 +00:00