Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (19 sloc) 0.386 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 attach);
const redisAsyncContext *
pool_get_context(struct pool *p);
#endif
Jump to Line
Something went wrong with that request. Please try again.