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

Function process

examples/libc/ex4.c:92–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90/* Test program */
91
92static void *process(void * arg)
93{
94 char *res;
95 res = str_accumulate("Result of ");
96 res = str_accumulate((char *) arg);
97 res = str_accumulate(" thread");
98 printf("Thread %lx: \"%s\"\n", pthread_self(), res);
99 return NULL;
100}
101
102int libc_ex4()
103{

Callers

nothing calls this directly

Calls 3

str_accumulateFunction · 0.85
pthread_selfFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected