diff options
| author | Zheng Chao <[email protected]> | 2023-09-14 18:53:31 +0800 |
|---|---|---|
| committer | Zheng Chao <[email protected]> | 2023-09-14 18:53:31 +0800 |
| commit | ecac77c3aa3a65d11c65253cee35de96c2cec6c8 (patch) | |
| tree | 44a37fe78329f8883866c9a00e68eb9f873d155f /include | |
| parent | da7d76bd764dd71f32f8af7a515cec121ced9991 (diff) | |
Optimize performance AsyncExec test case
Diffstat (limited to 'include')
| -rw-r--r-- | include/swarmkv/swarmkv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/swarmkv/swarmkv.h b/include/swarmkv/swarmkv.h index b52b748..a7c99b0 100644 --- a/include/swarmkv/swarmkv.h +++ b/include/swarmkv/swarmkv.h @@ -127,7 +127,7 @@ void swarmkv_register_thread(struct swarmkv *db); */ void swarmkv_caller_loop(struct swarmkv *db, int flags, struct timeval *tv); void swarmkv_caller_loop_break(struct swarmkv *db); -size_t swarmkv_caller_get_pending_commands(struct swarmkv *db); +long long swarmkv_caller_get_pending_commands(struct swarmkv *db); //Blocking function struct swarmkv_reply *swarmkv_command(struct swarmkv *db, const char *format, ...)__attribute__ ((format (printf, 2, 3))); struct swarmkv_reply *swarmkv_command_on(struct swarmkv *db, const char *target, const char *format, ...)__attribute__ ((format (printf, 3, 4))); |
