summaryrefslogtreecommitdiff
path: root/items.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2011-10-03 03:49:24 -0700
committerdormando <dormando@rydia.net>2011-11-09 16:06:08 -0800
commit8fe5bf1fe18935b421d8ed9532a6ad758745edbc (patch)
tree93b9c60df67fc2cf97e61814219e760f992d7f89 /items.h
parentca5016c54111e062c771d20fcc4662400713c634 (diff)
downloadmemcached-8fe5bf1fe18935b421d8ed9532a6ad758745edbc.tar.gz
use item partitioned lock for as much as possible
push cache_lock deeper into the abyss
Diffstat (limited to 'items.h')
-rw-r--r--items.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/items.h b/items.h
index acc1ef5..fc7b85e 100644
--- a/items.h
+++ b/items.h
@@ -8,6 +8,7 @@ bool item_size_ok(const size_t nkey, const int flags, const int nbytes);
int do_item_link(item *it, const uint32_t hv); /** may fail if transgresses limits */
void do_item_unlink(item *it, const uint32_t hv);
+void do_item_unlink_nolock(item *it, const uint32_t hv);
void do_item_remove(item *it);
void do_item_update(item *it); /** update LRU time to current and reposition */
int do_item_replace(item *it, item *new_it, const uint32_t hv);
@@ -20,7 +21,6 @@ void do_item_stats_sizes(ADD_STAT add_stats, void *c);
void do_item_flush_expired(void);
item *do_item_get(const char *key, const size_t nkey, const uint32_t hv);
-item *do_item_get_nocheck(const char *key, const size_t nkey, const uint32_t hv);
item *do_item_touch(const char *key, const size_t nkey, uint32_t exptime, const uint32_t hv);
void item_stats_reset(void);
extern pthread_mutex_t cache_lock;