瀏覽代碼

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

Nathalie Furmento 13 年之前
父節點
當前提交
6d7d24253a
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();