MCPcopy 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
96static 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
107int libc_ex2(void)
108{

Callers

nothing calls this directly

Calls 2

getFunction · 0.70
printfFunction · 0.50

Tested by

no test coverage detected