| 145 | } |
| 146 | |
| 147 | static void run(int cocurrent, int delay) |
| 148 | { |
| 149 | // ���̳߳����������� |
| 150 | for (int i = 0; i < cocurrent; i++) { |
| 151 | acl_pthread_pool_add(__thr_pool, thread_main, NULL); |
| 152 | } |
| 153 | |
| 154 | printf(">>>sleep %d seconds for monitor check\r\n", delay); |
| 155 | sleep_while(delay); |
| 156 | } |
| 157 | |
| 158 | static void usage(const char* procname) |
| 159 | { |