Don't use atomic ops in hb_cache_t
authorBehdad Esfahbod <behdad@behdad.org>
Sun, 27 May 2012 14:11:13 +0000 (10:11 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sun, 27 May 2012 14:11:13 +0000 (10:11 -0400)
commite4b6d503c5575ddbf49249e3fef693d75ae75170
tree881abd375b35e7ff6508844e97933d5047caddbd
parent819faa05307aa192015f4b43d8103a35e87d6cc7
Don't use atomic ops in hb_cache_t

We don't care about linearizability, so unprotected int read/write
are enough, no need for expensive memory barriers.  It's a cache,
that's all.
src/hb-cache-private.hh