foolishboy

Results 2 issues of foolishboy

I use this method in my project and found some error. I have some questions for this methods: 1: what does "loc" mean? why compute it like that? 2: In...

如题,代码里的waiting一直都是0啊? ``` void pushGenericCommand(redisClient *c, int where) { int j, waiting = 0, pushed = 0; // 取出列表对象 robj *lobj = lookupKeyWrite(c->db,c->argv[1]); // 如果列表对象不存在,那么可能有客户端在等待这个键的出现 int may_have_waiting_clients = (lobj == NULL);...