diff options
author | antirez <antirez@gmail.com> | 2015-09-23 16:46:36 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2015-10-01 13:02:25 +0200 |
commit | 9253d8507320dd1d7665a55e11e2cba3ae91c78d (patch) | |
tree | 305ccd34924ae2860cd5aec9788c3007621661fa /src/bio.h | |
parent | 4d50d691e3fa80c9b9aef5aa0498a0a92654b324 (diff) | |
download | redis-9253d8507320dd1d7665a55e11e2cba3ae91c78d.tar.gz |
Threaded lazyfree WIP #1.
Diffstat (limited to 'src/bio.h')
-rw-r--r-- | src/bio.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -38,4 +38,5 @@ void bioKillThreads(void); /* Background job opcodes */ #define BIO_CLOSE_FILE 0 /* Deferred close(2) syscall. */ #define BIO_AOF_FSYNC 1 /* Deferred AOF fsync. */ -#define BIO_NUM_OPS 2 +#define BIO_LAZY_FREE 2 /* Deferred objects freeing. */ +#define BIO_NUM_OPS 3 |