]> git.saurik.com Git - redis.git/blame_incremental - src/bio.h
cr16.c removed from 2.6 branch, was not used.
[redis.git] / src / bio.h
... / ...
CommitLineData
1/* Exported API */
2void bioInit(void);
3void bioCreateBackgroundJob(int type, void *arg1, void *arg2, void *arg3);
4unsigned long long bioPendingJobsOfType(int type);
5void bioWaitPendingJobsLE(int type, unsigned long long num);
6time_t bioOlderJobOfType(int type);
7
8/* Background job opcodes */
9#define REDIS_BIO_CLOSE_FILE 0 /* Deferred close(2) syscall. */
10#define REDIS_BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */
11#define REDIS_BIO_NUM_OPS 2