| 183 | } |
| 184 | |
| 185 | int 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 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…