Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 776d987b69
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (19 sloc) 0.398 kb
#ifndef POOL_H
#define POOL_H
#include <hiredis/async.h>
struct conf;
struct worker;
struct pool {
struct worker *w;
struct conf *cfg;
const redisAsyncContext **ac;
int count;
int cur;
struct pool *
pool_new(struct worker *w, int count);
redisAsyncContext *
pool_connect(struct pool *p, int db_num, int attach);
const redisAsyncContext *
pool_get_context(struct pool *p);
Jump to Line
Something went wrong with that request. Please try again.