Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
bfd8c1fd
Commit
bfd8c1fd
authored
Nov 20, 2019
by
Daniel Dai
Browse files
macro fix
macro fix
parent
3243252c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bio.h
View file @
bfd8c1fd
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
* POSSIBILITY OF SUCH DAMAGE.
* POSSIBILITY OF SUCH DAMAGE.
*/
*/
#ifndef __BIO_H
#define __BIO_H
/* Exported API */
/* Exported API */
void
bioInit
(
void
);
void
bioInit
(
void
);
void
bioCreateBackgroundJob
(
int
type
,
void
*
arg1
,
void
*
arg2
,
void
*
arg3
);
void
bioCreateBackgroundJob
(
int
type
,
void
*
arg1
,
void
*
arg2
,
void
*
arg3
);
...
@@ -40,3 +43,5 @@ void bioKillThreads(void);
...
@@ -40,3 +43,5 @@ void bioKillThreads(void);
#define BIO_AOF_FSYNC 1
/* Deferred AOF fsync. */
#define BIO_AOF_FSYNC 1
/* Deferred AOF fsync. */
#define BIO_LAZY_FREE 2
/* Deferred objects freeing. */
#define BIO_LAZY_FREE 2
/* Deferred objects freeing. */
#define BIO_NUM_OPS 3
#define BIO_NUM_OPS 3
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment