Browse Source

tests/datawizard/lazy_unregister.c: use usleep instead of sleep, sleep is not available on windows systems

Nathalie Furmento 13 years ago
parent
commit
6d7d24253a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/datawizard/lazy_unregister.c

+ 1 - 1
tests/datawizard/lazy_unregister.c

@@ -65,7 +65,7 @@ int main(void)
 	STARPU_CHECK_RETURN_VALUE(ret, "starpu_task_submit");
 
 	while (starpu_data_lookup(buffer) != NULL)
-		sleep(1);
+		usleep(100000);
 
 	starpu_shutdown();