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

Function rpmsg_socket_post

net/rpmsg/rpmsg_sockif.c:231–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229 ****************************************************************************/
230
231static inline void rpmsg_socket_post(FAR sem_t *sem)
232{
233 int semcount;
234
235 nxsem_get_value(sem, &semcount);
236 if (semcount < 1)
237 {
238 nxsem_post(sem);
239 }
240}
241
242static inline void
243rpmsg_socket_poll_notify(FAR struct rpmsg_socket_conn_s *conn,

Callers 4

rpmsg_socket_ept_cbFunction · 0.85
rpmsg_socket_destroy_eptFunction · 0.85
rpmsg_socket_ns_unbindFunction · 0.85
rpmsg_socket_ns_bindFunction · 0.85

Calls 2

nxsem_get_valueFunction · 0.85
nxsem_postFunction · 0.85

Tested by

no test coverage detected