Searched refs:lock (Results 1 – 4 of 4) sorted by relevance
37 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/memcached45 rm -f /var/lock/subsys/memcached71 [ -f /var/lock/subsys/memcached ] && restart || :
35 pthread_mutex_t lock; member126 pthread_mutex_t *lock = &item_locks[hv & hashmask(item_lock_hashpower)]; in item_trylock() local127 if (pthread_mutex_trylock(lock) == 0) { in item_trylock()128 return lock; in item_trylock()133 void item_trylock_unlock(void *lock) { in item_trylock_unlock() argument134 mutex_unlock((pthread_mutex_t *) lock); in item_trylock_unlock()206 pthread_mutex_init(&cq->lock, NULL); in cq_init()219 pthread_mutex_lock(&cq->lock); in cq_pop()226 pthread_mutex_unlock(&cq->lock); in cq_pop()237 pthread_mutex_lock(&cq->lock); in cq_push()[all …]
14 - A secondary small hash table of locks is used to lock an item by its hash24 system must attempt to lock the item's bucket, which is done with a trylock28 - Each LRU (and sub-LRU's in newer modes) has an independent lock.31 is a short lock which covers pushing and popping free memory.54 - If you remove the per-thread stats lock, CPU usage goes down by less than a
809 lock while it iterates the items. 1.4.27 and greater are safe.