mirror of
https://github.com/apache/nuttx.git
synced 2026-08-13 16:35:21 +00:00
server: at accept last nxsem_post(&client->lc_waitsem); client: connect wait(&client->lc_waitsem) then local_open_client_rx(); But if the server priority is higher then client, and after server accept return, immediately call send(). At this time the client has no way do local_open_client_rx(). Then server send() return error. Fix: add lc_done sem to client Signed-off-by: ligd <liguiding1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| local.h | ||
| local_accept.c | ||
| local_bind.c | ||
| local_conn.c | ||
| local_connect.c | ||
| local_fifo.c | ||
| local_listen.c | ||
| local_netpoll.c | ||
| local_recvmsg.c | ||
| local_recvutils.c | ||
| local_release.c | ||
| local_sendmsg.c | ||
| local_sendpacket.c | ||
| local_sockif.c | ||
| Make.defs | ||