diff options
author | dormando <dormando@rydia.net> | 2017-09-25 23:54:25 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2017-09-26 00:05:31 -0700 |
commit | 4ce647a23128583b74822748a7f1411a75f50d51 (patch) | |
tree | b8c5d5d98b8fcd912f7cc45da8c13d5c9b048d06 /items.c | |
parent | a3a955fffcf544072bb49ac81b3bf6a48a0b4a22 (diff) | |
download | memcached-4ce647a23128583b74822748a7f1411a75f50d51.tar.gz |
interface code for flash branch
removes a few ifdef's and upstreams small internal interface tweaks for easy
rebase.
Diffstat (limited to 'items.c')
-rw-r--r-- | items.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1633,14 +1633,14 @@ int stop_lru_maintainer_thread(void) { return 0; } -int start_lru_maintainer_thread(void) { +int start_lru_maintainer_thread(void *arg) { int ret; pthread_mutex_lock(&lru_maintainer_lock); do_run_lru_maintainer_thread = 1; settings.lru_maintainer_thread = true; if ((ret = pthread_create(&lru_maintainer_tid, NULL, - lru_maintainer_thread, NULL)) != 0) { + lru_maintainer_thread, arg)) != 0) { fprintf(stderr, "Can't create LRU maintainer thread: %s\n", strerror(ret)); pthread_mutex_unlock(&lru_maintainer_lock); |