Home
last modified time | relevance | path

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

/memcached-1.4.29/
H A Dthread.c71 static LIBEVENT_THREAD *threads; variable
464 LIBEVENT_THREAD *thread = threads + tid; in dispatch_conn_new()
671 pthread_mutex_lock(&threads[ii].stats.mutex); in threadlocal_stats_reset()
672 #define X(name) threads[ii].stats.name = 0; in threadlocal_stats_reset()
676 memset(&threads[ii].stats.slab_stats, 0, in threadlocal_stats_reset()
698 threads[ii].stats.slab_stats[sid].name; in threadlocal_stats_aggregate()
772 if (! threads) { in memcached_thread_init()
787 threads[i].notify_receive_fd = fds[0]; in memcached_thread_init()
788 threads[i].notify_send_fd = fds[1]; in memcached_thread_init()
790 setup_thread(&threads[i]); in memcached_thread_init()
[all …]
H A DChangeLog78 at once. Prevents starving other threads if bulk loading. (Facebook)
123 * Add compiler options for Sun Studio compilers with --enable-threads
369 execution. Run configure with "--enable-threads" to enable. See
370 doc/threads.txt for details.
H A Dconfigure.ac471 AC_MSG_ERROR([Can't enable threads without the POSIX thread library.])
/memcached-1.4.29/doc/
H A Dthreads.txt4 - N "event worker" threads
5 - Some misc background threads
9 global locks. Protocol parsing, data transfer happens in threads. Data lookups
15 value. This prevents multiple threads from acting on the same item at the
18 allows multiple threads to access the hash table in parallel. Only one
48 Various locks exist for background threads. They can be used to pause the
49 thread execution or update settings while the threads are idle. They may call
58 Yes, more stats can be moved to threads, and those locks can actually be
H A Dprotocol.txt626 | threads | 32u | Number of worker threads requested. |
627 | | | (see doc/threads.txt) |
648 | direct_reclaims | 64u | Times worker threads had to directly |
703 | num_threads | 32 | Number of threads (including dispatch). |
721 | | bool | Split LRU mode and background threads |
794 direct_reclaims Number of times worker threads had to directly pull LRU
/memcached-1.4.29/t/
H A Dstress-memcached.pl14 my $threads = shift;
28 if ($running < $threads) {