MCPcopy Create free account
hub / github.com/acl-dev/acl / main

Function main

lib_acl_cpp/samples/thread_pool/main.cpp:185–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185int main(int argc, char* argv[])
186{
187 int ch, n = 0;
188
189 // ��ʼ�� acl ��
190 acl::acl_cpp_init();
191
192 while ((ch = getopt(argc, argv, "hc:")) > 0)
193 {
194 switch (ch)
195 {
196 case 'h':
197 usage(argv[0]);
198 return 0;
199 case 'c':
200 n = atoi(optarg);
201 break;
202 default:
203 break;
204 }
205 }
206
207 test_thread_pool(n);
208
209#ifdef WIN32
210 printf("enter any key to exit ...\r\n");
211 getchar();
212#endif
213 return 0;
214}

Callers

nothing calls this directly

Calls 4

acl_cpp_initFunction · 0.85
usageFunction · 0.70
test_thread_poolFunction · 0.70
getoptFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…