git-svn-id: file:///var/lib/svn/clamav-devel/trunk/clamav-devel@2255 77e5149b-7576-45b1-b177-96237e5ba77b
Tomasz Kojm authored on 2006/09/14 07:13:20... | ... |
@@ -202,8 +202,10 @@ static int multiscan(const char *dirname, const struct cl_node *root, const stru |
202 | 202 |
return -1; |
203 | 203 |
} |
204 | 204 |
|
205 |
-#ifndef C_WINDOWS |
|
206 | 205 |
while(!multi_pool->thr_idle) /* non-critical */ |
206 |
+#ifdef C_WINDOWS |
|
207 |
+ Sleep(1); |
|
208 |
+#else |
|
207 | 209 |
usleep(200); |
208 | 210 |
#endif |
209 | 211 |
} |