MCPcopy Create free account
hub / github.com/apache/trafficserver / main

Function main

src/tscore/test_freelist.cc:68–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68int
69main(int /* argc ATS_UNUSED */, char * /*argv ATS_UNUSED */[])
70{
71 int i;
72
73 flist = ink_freelist_create("woof", 64, 256, 8);
74
75 for (i = 0; i < NTHREADS; i++) {
76 fprintf(stderr, "Create thread %d\n", i);
77 ink_thread_create(nullptr, test, (void *)(static_cast<intptr_t>(i)), 0, 0, nullptr);
78 }
79
80 test((void *)NTHREADS);
81
82 return 0;
83}

Callers

nothing calls this directly

Calls 3

ink_freelist_createFunction · 0.85
ink_thread_createFunction · 0.85
testFunction · 0.70

Tested by

no test coverage detected