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