void brpopCommand(redisClient *c) { blockingPopGenericCommand(c,REDIS_TAIL); }
// BRPOP命令的实现 void brpopCommand(client *c) { blockingPopGenericCommand(c,LIST_TAIL); }
void blpopCommand(redisClient *c) { blockingPopGenericCommand(c,REDIS_HEAD); }
// BLPOP命令的实现 void blpopCommand(client *c) { blockingPopGenericCommand(c,LIST_HEAD); }