diff options
| author | 彭宣正 <[email protected]> | 2021-06-24 16:26:39 +0800 |
|---|---|---|
| committer | 彭宣正 <[email protected]> | 2021-06-29 18:12:16 +0800 |
| commit | 696fcecb7c2a4d0bb5f908e3c4fd8b77ba830b0d (patch) | |
| tree | 77d1e4204ed3cfbf96760c18e3d1c44194a27e33 /src/hos_hash.h | |
| parent | 8cb339003a3e7aeb0e85ee51ac1341900219ae86 (diff) | |
✨ feat(gtest与src): 修改fd管理流程,TSG-6760v2.0.0
Diffstat (limited to 'src/hos_hash.h')
| -rw-r--r-- | src/hos_hash.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/hos_hash.h b/src/hos_hash.h index 1b196df3..c23e3d51 100644 --- a/src/hos_hash.h +++ b/src/hos_hash.h @@ -25,11 +25,8 @@ typedef struct hos_fd_context_s size_t recive_cnt; long cache_rest; int fd_status; -#define HOS_FD_FREE 0 -#define HOS_FD_REGISTER 1 -#define HOS_FD_INJECT 2 - size_t overtime; //计算后的时间点,超过即inject fd - size_t timeout; //配置的超时时间,从status变成INJECT开始计时 +#define HOS_FD_REGISTER 0 +#define HOS_FD_INJECT 1 UT_hash_handle hh; }hos_fd_context_t; |
