Browse Source

Accept tasks getting submitted during starpu shutdown

Samuel Thibault 4 years ago
parent
commit
46816576c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -222,7 +222,7 @@ char ***_starpu_get_argv()
 
 int starpu_is_initialized(void)
 {
-	return initialized == INITIALIZED;
+	return initialized != UNINITIALIZED;
 }
 
 void starpu_wait_initialized(void)