MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / lwp_channel_send_recv_timeout

Function lwp_channel_send_recv_timeout

components/lwp/lwp_ipc.c:1186–1196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184}
1185
1186rt_err_t lwp_channel_send_recv_timeout(int fdt_type, int fd, rt_channel_msg_t data, rt_channel_msg_t data_ret, rt_int32_t time)
1187{
1188 rt_channel_t ch;
1189
1190 ch = fd_2_channel(fdt_type, fd);
1191 if (ch)
1192 {
1193 return rt_raw_channel_send_recv_timeout(ch, data, data_ret, time);
1194 }
1195 return -RT_EIO;
1196}
1197
1198rt_err_t lwp_channel_reply(int fdt_type, int fd, rt_channel_msg_t data)
1199{

Callers 3

rt_channel_send_recvFunction · 0.85

Calls 2

fd_2_channelFunction · 0.85

Tested by

no test coverage detected