资 源 简 介
what is ememcached?
ememcached is an embed-memcached project
if you want a memcached work with a local process, without any net communication to save some performance about socket, memcached string command process, embed-memcached is your best choice!
how to
view the test.c file, you will know how to use
view config.h to config something yourself like "MAX_MEM_SIZE" or "USE_THREADS"
if you use "USE_THREADS" configuration(default), ememcached will init all threak mutex, and you do not need setup any thread locks, when you use multi-threads program
if you want to run a test first
run Make command to complete the project
if you want to build ememcached with your big project please edit the Makefile file
interface
int emem_init();
run first at all
return: 0
int emem_set(char key, size\_t nkey, int flags, time\_t exptime, int vl