摘要:
1、hiredis 分布式锁 测试代码 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <time.h> #include <hiredis.h> /* #define R 阅读全文
posted @ 2019-12-05 13:41
mytrace
阅读(602)
评论(0)
推荐(0)
摘要:
1、主要数据结构 (1)redisContext 结构体 /* Context for a connection to Redis */ typedef struct redisContext { int err; /* Error flags, 0 when there is no error * 阅读全文
posted @ 2019-12-05 13:33
mytrace
阅读(682)
评论(0)
推荐(0)

浙公网安备 33010602011771号