Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/rt-thread
/ consumer
Function
consumer
examples/libc/ex2.c:96–105 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
94
}
95
96
static void * consumer(void * data)
97
{
98
int d;
99
while (1) {
100
d = get(&buffer);
101
if (d == OVER) break;
102
printf(
"---> %d\n"
, d);
103
}
104
return NULL;
105
}
106
107
int libc_ex2(void)
108
{
Callers
nothing calls this directly
Calls
2
get
Function · 0.70
printf
Function · 0.50
Tested by
no test coverage detected