MCPcopy Create free account
hub / github.com/apache/nuttx / rpmsg_socket_ns_unbind

Function rpmsg_socket_ns_unbind

net/rpmsg/rpmsg_sockif.c:473–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473static void rpmsg_socket_ns_unbind(FAR struct rpmsg_endpoint *ept)
474{
475 FAR struct rpmsg_socket_conn_s *conn = ept->priv;
476
477 nxmutex_lock(&conn->recvlock);
478
479 conn->unbind = true;
480 rpmsg_socket_post(&conn->sendsem);
481 rpmsg_socket_post(&conn->recvsem);
482 rpmsg_socket_poll_notify(conn, POLLIN | POLLOUT | POLLHUP | POLLERR);
483
484 nxmutex_unlock(&conn->recvlock);
485}
486
487static void rpmsg_socket_ept_release(FAR struct rpmsg_endpoint *ept)
488{

Callers

nothing calls this directly

Calls 4

nxmutex_lockFunction · 0.85
rpmsg_socket_postFunction · 0.85
rpmsg_socket_poll_notifyFunction · 0.85
nxmutex_unlockFunction · 0.85

Tested by

no test coverage detected