🐞 fix(src, gtest, example): 解决hos_delete_fd引起的多线程安全问题

This commit is contained in:
彭宣正
2021-07-12 11:09:53 +08:00
parent c7c6f5b25f
commit 0c27c779a6
15 changed files with 148 additions and 588 deletions

View File

@@ -27,6 +27,9 @@ typedef struct hos_fd_context_s
int fd_status;
#define HOS_FD_REGISTER 0
#define HOS_FD_INJECT 1
bool reslut; /*PutObjectAsync result*/
const char *error; /*PutObjectAsync error message*/
UT_hash_handle hh;
}hos_fd_context_t;