Home
last modified time | relevance | path

Searched refs:cq (Results 1 – 1 of 1) sorted by relevance

/memcached-1.6.32/
Dthread.c103 static CQ_ITEM *cqi_new(CQ *cq);
273 static void cq_init(CQ *cq) { in cq_init() argument
275 STAILQ_INIT(&cq->head); in cq_init()
277 if (cq->cache == NULL) { in cq_init()
288 static CQ_ITEM *cq_pop(CQ *cq) { in cq_pop() argument
291 pthread_mutex_lock(&cq->lock); in cq_pop()
292 item = STAILQ_FIRST(&cq->head); in cq_pop()
296 pthread_mutex_unlock(&cq->lock); in cq_pop()
305 pthread_mutex_lock(&cq->lock); in cq_push()
313 static CQ_ITEM *cqi_new(CQ *cq) { in cqi_new() argument
[all …]