| 38 | return 0; |
| 39 | } |
| 40 | int main(int argc,char *argv[]) |
| 41 | { |
| 42 | int cnt = atoi( argv[1] ); |
| 43 | |
| 44 | pthread_t tid[ cnt ]; |
| 45 | for(int i=0;i<cnt;i++) |
| 46 | { |
| 47 | pthread_create( tid + i,NULL,routine_func,0); |
| 48 | } |
| 49 | for(;;) |
| 50 | { |
| 51 | sleep(1); |
| 52 | } |
| 53 | |
| 54 | return 0; |
| 55 | } |
| 56 |
nothing calls this directly
no outgoing calls
no test coverage detected