mirror of
https://github.com/apache/nuttx.git
synced 2026-10-23 06:48:44 +00:00
the following code can be modified
conn_dev_unlock(&conn->sconn, conn->dev);
ret = net_sem_timedwait_uninterruptible(&conn->snd_sem,
tcp_send_gettimeout(start, timeout));
conn_dev_lock(&conn->sconn, conn->dev);
to
ret = conn_dev_sem_timedwait(&conn->snd_sem, false,
tcp_send_gettimeout(start, timeout), &conn->sconn, conn->dev);
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| net_bufpool.c | ||
| net_chksum.c | ||
| net_cmsg.c | ||
| net_dsec2tick.c | ||
| net_dsec2timeval.c | ||
| net_icmpchksum.c | ||
| net_incr32.c | ||
| net_iob_concat.c | ||
| net_ipchksum.c | ||
| net_ipv6_payload.c | ||
| net_ipv6_pref2mask.c | ||
| net_lock.c | ||
| net_mask2pref.c | ||
| net_snoop.c | ||
| net_tcpchksum.c | ||
| net_timeval2dsec.c | ||
| net_udpchksum.c | ||
| utils.h | ||