Home
last modified time | relevance | path

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

/memcached-1.4.29/
H A Dmemcached.c445 c->thread->stats.idle_kicks++; in conn_close_idle()
1473 c->thread->stats.get_cmds++; in process_bin_get_or_touch()
1523 c->thread->stats.get_cmds++; in process_bin_get_or_touch()
1940 c->thread->stats.auth_cmds++; in process_bin_complete_sasl_auth()
1956 c->thread->stats.auth_cmds++; in process_bin_complete_sasl_auth()
1957 c->thread->stats.auth_errors++; in process_bin_complete_sasl_auth()
2354 c->thread->stats.flush_cmds++; in process_bin_flush()
3455 c->thread->stats.touch_cmds++; in process_touch_command()
3463 c->thread->stats.touch_cmds++; in process_touch_command()
3464 c->thread->stats.touch_misses++; in process_touch_command()
[all …]
H A Dthread.c422 c->thread = me; in thread_libevent_process()
464 LIBEVENT_THREAD *thread = threads + tid; in dispatch_conn_new() local
474 cq_push(thread->new_conn_queue, item); in dispatch_conn_new()
476 MEMCACHED_CONN_DISPATCH(sfd, thread->thread_id); in dispatch_conn_new()
478 if (write(thread->notify_send_fd, buf, 1) != 1) { in dispatch_conn_new()
502 LIBEVENT_THREAD *thread = c->thread; in redispatch_conn() local
H A Ditems.c797 pthread_mutex_lock(&c->thread->stats.mutex); in do_item_get()
798 c->thread->stats.get_flushed++; in do_item_get()
799 pthread_mutex_unlock(&c->thread->stats.mutex); in do_item_get()
808 pthread_mutex_lock(&c->thread->stats.mutex); in do_item_get()
809 c->thread->stats.get_expired++; in do_item_get()
810 pthread_mutex_unlock(&c->thread->stats.mutex); in do_item_get()
824 LOGGER_LOG(c->thread->l, LOG_FETCHERS, LOGGER_ITEM_GET, NULL, was_found, key, nkey); in do_item_get()
H A DMakefile.am18 thread.c daemon.c \
H A DChangeLog47 * Performance: per-thread stats (Trond)
49 * Performance: Hash expansion in its own thread (Trond)
70 * Zero out libevent thread structures before use (Ricky Zhou)
75 * Use a dedicated socket accept thread (Facebook)
213 * Item stats commands weren't thread-safe; wrap them with locks
238 * Add string.h to thread.c to get correctly prototyped strerror()
H A Dmemcached.h560 LIBEVENT_THREAD *thread; /* Pointer to the thread object serving this connection */ member
619 int dispatch_event_add(int thread, conn *c);
H A Dconfigure.ac471 AC_MSG_ERROR([Can't enable threads without the POSIX thread library.])
/memcached-1.4.29/doc/
H A Dthreads.txt3 - One listener thread
7 Each worker thread is assigned connections, and runs its own epoll loop. The
19 thread may read or write against a particular hash table bucket.
25 to avoid deadlocks. If a bucket is in use (and not by that thread) it will
49 thread execution or update settings while the threads are idle. They may call
54 - If you remove the per-thread stats lock, CPU usage goes down by less than a
H A Dnew_lru.txt18 * A background thread exists which shuffles items between/within the LRU's as
20 * The background thread can also control the lru_crawler, if enabled.
28 item reads, only during sets and from the background thread. Also the
29 background thread is likely to find expired items and release them back to the
H A Dprotocol.txt384 The slabs automove command enables a background thread which decides on its
397 - <0> means to set the thread on standby
413 The LRU Crawler is an optional background thread which will walk from the tail
421 - Enable or disable the LRU Crawler background thread.
652 | | 64u | Number of times the LRU bg thread woke up |
731 | worker_logbuf_size| 32u | Size of internal per-worker-thread buffer |
732 | | | which the background thread reads from. |