diff options
| author | root <[email protected]> | 2024-03-21 08:54:06 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-03-21 08:54:06 +0000 |
| commit | edd1ae16cf895f5ff2b0db5ed7eb4a8ec3c6a3b8 (patch) | |
| tree | 64d5db1b0666d6e57f6c145bcdc0f6116e832f96 /common | |
| parent | cc02f6cba94dcd950e16774d6b11b7cf3c01429b (diff) | |
当swarmkv_caller_loop空跑时,减少其调用频率
Diffstat (limited to 'common')
| -rw-r--r-- | common/include/utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/include/utils.h b/common/include/utils.h index 8067749..38ad5d3 100644 --- a/common/include/utils.h +++ b/common/include/utils.h @@ -7,6 +7,7 @@ extern "C" #endif #define MIN(a, b) ((a) > (b) ? (b) : (a)) +#define MAX(a, b) ((a) > (b) ? (a) : (b)) #ifndef container_of #define container_of(ptr, type, member) ({ \ |
