aboutsummaryrefslogtreecommitdiff
path: root/src/unstable/cachebase.h (follow)
AgeCommit message (Collapse)Author
2023-08-01Updated copyright date.Mike Buland
2023-07-11Fixed cachebase memory leak.Mike Buland
2020-10-01Fixed bug in CachePtr pointer dereference.Mike Buland
I guess I never used it before, it wouldn't even compile, it wasn't dereferencing the returned pointer. It's not a great idea to use it, but sometimes you need it.
2020-06-22Fixed a bad catch statement.Mike Buland
2019-05-24Updated copyright date.Mike Buland
2018-11-07Added convinience Key/Value typedefs to ptrs.Mike Buland
2018-07-16Removed a little cache debugging.Mike Buland
2015-08-25Added more lock/unlock features to the cache Lockers. That...was a weirdMike Buland
sentence, but it's true. Also, oddly enough, Lockers aren't thread-safe, but they shouldn't ever have to be. Figure that one out!
2015-08-24Added some refcount debugging.Mike Buland
2015-08-16Thread safety update for the previous commit. I left one structure accessMike Buland
unprotected, but fortunately this time I was able to use a read lock which is much lest nasty and persistant.
2015-08-16Fixed a highly essoteric issue. The ReadWriteMutex was locked in write whileMike Buland
syncing changes. That was important so that more changes wouldn't be added while we're writing, but it also meant that in a very particular circumstance where one thread was syncing changes, another was marking changes as having happened, and another locked an object that was being written because it had changes they would all deadlock. This should be fixed now.
2015-07-14constant cache pointers can now be bound and unbound. It may seem odd, but it'sMike Buland
important, they are references to constant data, weather they should be able to become bound still.
2014-08-08The cache didn't handle syncing objects that were marked changed and thenMike Buland
deleted before the sync could occur properly. They are now ignored during sync.
2014-07-22Deferred erase now works on cache entries. You can erase a cache entry whileMike Buland
it still has active references, and it will be safely cleaned up when the last reference is released.
2014-03-05Added a method to null/clear a cache pointer, and one to see if it's set at all.Mike Buland
2014-02-03Changed copyright to 2007-2014.Mike Buland
2014-01-30Attempting to fix OSX compatibility, it's not 100%, but it builds and most ↵Mike Buland
things seem to work. We've also tested against LLVM.
2014-01-22Updated the cache system. It now ensures that objects are initialized withMike Buland
cache information before they are deserialized from storage. This changed the signature of the cache loading template function, but the new function isn't harder to use, and provides the key information as well.
2013-07-18Fixed caching changed issue. The cache now marks objects as unchanged for youMike Buland
after they are saved. It needs some more testing, but the theory is sound.
2013-07-03Modified the Bu::CacheBase API, what was erase is eraseNow, and erase is aboutMike Buland
to be re-engineered to actually do a lazy erase like removing an iNode in a posix filesystem. While the file remains open it exists, but the references visible to the user on disk are gone.
2013-03-25Corrected a pure virtual call issue while destroying caches.Mike Buland
2013-03-18Added the has function to the new cache system. If the object identified byMike Buland
key is loaded then the query doesn't even get to the superclass.
2013-03-17The new cache system has been broken out into it's individual headers, and isMike Buland
now ready for actual use.