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

Function lwp_channel_recv_timeout

components/lwp/lwp_ipc.c:1210–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1208}
1209
1210rt_err_t lwp_channel_recv_timeout(int fdt_type, int fd, rt_channel_msg_t data, rt_int32_t time)
1211{
1212 rt_channel_t ch;
1213
1214 ch = fd_2_channel(fdt_type, fd);
1215 if (ch)
1216 {
1217 return rt_raw_channel_recv_timeout(ch, data, time);
1218 }
1219 return -RT_EIO;
1220}
1221
1222int rt_channel_open(const char *name, int flags)
1223{

Callers 4

rt_channel_recv_timeoutFunction · 0.85
rt_channel_recvFunction · 0.85
rt_channel_peekFunction · 0.85
sys_channel_recv_timeoutFunction · 0.85

Calls 2

fd_2_channelFunction · 0.85

Tested by

no test coverage detected