代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/lwip 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From b7faf0800631668d4d23cb497f1ceeb5948e4a41 Mon Sep 17 00:00:00 2001
From: jiangheng <jiangheng12@huawei.com>
Date: Tue, 15 Mar 2022 19:22:22 +0800
Subject: [PATCH] refactor event, if ring is full, the node is added to list
---
src/include/lwipsock.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/include/lwipsock.h b/src/include/lwipsock.h
index 355bf47..36bcaed 100644
--- a/src/include/lwipsock.h
+++ b/src/include/lwipsock.h
@@ -104,12 +104,16 @@ struct lwip_sock {
struct pbuf *send_lastdata; /* unread data in one pbuf */
void *send_ring;
int32_t recv_flags;
+ int32_t send_flags;
bool wait_close;
int32_t attach_fd;
struct lwip_sock *shadowed_sock;
struct list_node attach_list;
struct list_node listen_list;
struct list_node recv_list;
+ struct list_node event_list;
+ struct list_node wakeup_list;
+ struct list_node send_list;
int32_t nextfd; /* listenfd list */
#endif
};
--
1.8.3.1
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。