diff options
author | Mike Buland <eichlan@xagasoft.com> | 2013-04-08 12:10:31 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2013-04-08 12:10:31 +0000 |
commit | 7b1f2da0d83d4e01a8d8a32e02bea6b33c61e3f4 (patch) | |
tree | 4e6d4fa3814c58f8ce0f0f4e001b74972935adc4 /src/unstable/bitstring.h | |
parent | cc81b205410c2cf8e20a53eea745d9d8aee57f6c (diff) | |
download | libbu++-7b1f2da0d83d4e01a8d8a32e02bea6b33c61e3f4.tar.gz libbu++-7b1f2da0d83d4e01a8d8a32e02bea6b33c61e3f4.tar.bz2 libbu++-7b1f2da0d83d4e01a8d8a32e02bea6b33c61e3f4.tar.xz libbu++-7b1f2da0d83d4e01a8d8a32e02bea6b33c61e3f4.zip |
Minor tweaks to the cache object base class. The per-object mutex is actually
in the CacheEntry class, not the CacheObject, so you can't lock it until you
have an entry. This isn't a big deal unless your objects aren't actually
part of a cache yet. I changed it so that lock/unlock have no effect if you
haven't joined to a cache yet, probably not ideal, I'll think about moving
that mutex.
I also fixed it so you can lock/unlock even when const.
Diffstat (limited to 'src/unstable/bitstring.h')
0 files changed, 0 insertions, 0 deletions