summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmq <[email protected]>2024-04-15 10:37:15 +0800
committerMeco Man <[email protected]>2024-04-18 21:51:42 -0400
commitbbdfad93eb7a3fbc7959220262c5ee0597a5e072 (patch)
treeb77cf04ea0190920e1b0983f3932fbdf2e9262ab
parentcd77f988cd0182f18aae59892119ec908d2e1864 (diff)
Increased the limit on the number of messages
-rw-r--r--components/net/sal/include/sal_msg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/net/sal/include/sal_msg.h b/components/net/sal/include/sal_msg.h
index 2a2cff1d0b..7d52b25b63 100644
--- a/components/net/sal/include/sal_msg.h
+++ b/components/net/sal/include/sal_msg.h
@@ -58,6 +58,9 @@ struct unix_conn
int type;
int proto;
+#ifdef SAL_USING_AF_UNIX
+ rt_atomic_t msg_count;
+#endif
rt_uint32_t send_timeout;
rt_uint32_t recv_timeout;
rt_wqueue_t wq_read_head;