]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
be consistant about how a couple of members of mem_cache_object_t are used
authorGreg Ames <gregames@apache.org>
Mon, 10 Jun 2002 21:10:08 +0000 (21:10 +0000)
committerGreg Ames <gregames@apache.org>
Mon, 10 Jun 2002 21:10:08 +0000 (21:10 +0000)
commit7fac642ae3ee5c2badac268fca8b91037e8fb696
treea12d2e114b720568722df913e2413a4f051ac160
parent608a8034b65e59e66ebe48146703ea5dfa470dc2
be consistant about how a couple of members of mem_cache_object_t are used
and defined to silence compile errors on a system where apr_atomic_t is
a structure.

"pos" is read & written with atomic operators, so make it an apr_atomic_t.
"priority" is almost always updated without using atomic operators, so I
assume it doesn't need to be atomic.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95597 13f79535-47bb-0310-9956-ffa450edef68
modules/experimental/mod_mem_cache.c